servers/sound/main.cc File Reference

#include <AL/al.h>
#include <AL/alut.h>
#include <AL/alc.h>
#include <iostream>
#include <Platform.h>

Go to the source code of this file.

Defines

#define CHECK_SYSCALL(val, msg)   if ((val) == -1) { perror(msg); return 3; }
#define NUM_BUFFERS   1
#define DisplayALError(s, e)   cout << s << (int)e << endl;

Functions

int main (int argc, char *argv[])


Define Documentation

#define CHECK_SYSCALL val,
msg   )     if ((val) == -1) { perror(msg); return 3; }
 

Definition at line 12 of file servers/sound/main.cc.

#define DisplayALError s,
 )     cout << s << (int)e << endl;
 

Referenced by main().

#define NUM_BUFFERS   1
 

Definition at line 13 of file servers/sound/main.cc.

Referenced by main().


Function Documentation

int main int  argc,
char *  argv[]
 

Definition at line 15 of file servers/sound/main.cc.

References DisplayALError, and NUM_BUFFERS.


Generated on Sun Dec 2 23:04:31 2007 for openSDK by  doxygen 1.3.9.1