Advertisement
Guest User

Untitled

a guest
May 19th, 2014
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
D 0.20 KB | None | 0 0
  1. module main;
  2.  
  3. import derelict.openal.al;
  4.  
  5. import std.stdio;
  6.  
  7. void main(){
  8.  
  9.     DerelictAL.load();
  10.  
  11.     ALCdevice *device;
  12.  
  13.     device = alcOpenDevice(null);
  14.     if(!device){
  15.         writeln("Error");
  16.     }
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement