# 1 "altest.cpp" # 1 "" # 1 "" # 1 "altest.cpp" # 1 "/usr/include/AL/al.h" 1 3 4 # 25 "/usr/include/AL/al.h" 3 4 extern "C" { # 57 "/usr/include/AL/al.h" 3 4 typedef char ALboolean; typedef char ALchar; typedef char ALbyte; typedef unsigned char ALubyte; typedef short ALshort; typedef unsigned short ALushort; typedef int ALint; typedef unsigned int ALuint; typedef int ALsizei; typedef int ALenum; typedef float ALfloat; typedef double ALdouble; typedef void ALvoid; # 388 "/usr/include/AL/al.h" 3 4 extern void alEnable( ALenum capability ); extern void alDisable( ALenum capability ); extern ALboolean alIsEnabled( ALenum capability ); extern const ALchar* alGetString( ALenum param ); extern void alGetBooleanv( ALenum param, ALboolean* data ); extern void alGetIntegerv( ALenum param, ALint* data ); extern void alGetFloatv( ALenum param, ALfloat* data ); extern void alGetDoublev( ALenum param, ALdouble* data ); extern ALboolean alGetBoolean( ALenum param ); extern ALint alGetInteger( ALenum param ); extern ALfloat alGetFloat( ALenum param ); extern ALdouble alGetDouble( ALenum param ); extern ALenum alGetError( void ); extern ALboolean alIsExtensionPresent( const ALchar* extname ); extern void* alGetProcAddress( const ALchar* fname ); extern ALenum alGetEnumValue( const ALchar* ename ); # 452 "/usr/include/AL/al.h" 3 4 extern void alListenerf( ALenum param, ALfloat value ); extern void alListener3f( ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 ); extern void alListenerfv( ALenum param, const ALfloat* values ); extern void alListeneri( ALenum param, ALint value ); extern void alListener3i( ALenum param, ALint value1, ALint value2, ALint value3 ); extern void alListeneriv( ALenum param, const ALint* values ); extern void alGetListenerf( ALenum param, ALfloat* value ); extern void alGetListener3f( ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3 ); extern void alGetListenerfv( ALenum param, ALfloat* values ); extern void alGetListeneri( ALenum param, ALint* value ); extern void alGetListener3i( ALenum param, ALint *value1, ALint *value2, ALint *value3 ); extern void alGetListeneriv( ALenum param, ALint* values ); # 514 "/usr/include/AL/al.h" 3 4 extern void alGenSources( ALsizei n, ALuint* sources ); extern void alDeleteSources( ALsizei n, const ALuint* sources ); extern ALboolean alIsSource( ALuint sid ); extern void alSourcef( ALuint sid, ALenum param, ALfloat value ); extern void alSource3f( ALuint sid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 ); extern void alSourcefv( ALuint sid, ALenum param, const ALfloat* values ); extern void alSourcei( ALuint sid, ALenum param, ALint value ); extern void alSource3i( ALuint sid, ALenum param, ALint value1, ALint value2, ALint value3 ); extern void alSourceiv( ALuint sid, ALenum param, const ALint* values ); extern void alGetSourcef( ALuint sid, ALenum param, ALfloat* value ); extern void alGetSource3f( ALuint sid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3); extern void alGetSourcefv( ALuint sid, ALenum param, ALfloat* values ); extern void alGetSourcei( ALuint sid, ALenum param, ALint* value ); extern void alGetSource3i( ALuint sid, ALenum param, ALint* value1, ALint* value2, ALint* value3); extern void alGetSourceiv( ALuint sid, ALenum param, ALint* values ); extern void alSourcePlayv( ALsizei ns, const ALuint *sids ); extern void alSourceStopv( ALsizei ns, const ALuint *sids ); extern void alSourceRewindv( ALsizei ns, const ALuint *sids ); extern void alSourcePausev( ALsizei ns, const ALuint *sids ); extern void alSourcePlay( ALuint sid ); extern void alSourceStop( ALuint sid ); extern void alSourceRewind( ALuint sid ); extern void alSourcePause( ALuint sid ); extern void alSourceQueueBuffers( ALuint sid, ALsizei numEntries, const ALuint *bids ); extern void alSourceUnqueueBuffers( ALuint sid, ALsizei numEntries, ALuint *bids ); # 608 "/usr/include/AL/al.h" 3 4 extern void alGenBuffers( ALsizei n, ALuint* buffers ); extern void alDeleteBuffers( ALsizei n, const ALuint* buffers ); extern ALboolean alIsBuffer( ALuint bid ); extern void alBufferData( ALuint bid, ALenum format, const ALvoid* data, ALsizei size, ALsizei freq ); extern void alBufferf( ALuint bid, ALenum param, ALfloat value ); extern void alBuffer3f( ALuint bid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 ); extern void alBufferfv( ALuint bid, ALenum param, const ALfloat* values ); extern void alBufferi( ALuint bid, ALenum param, ALint value ); extern void alBuffer3i( ALuint bid, ALenum param, ALint value1, ALint value2, ALint value3 ); extern void alBufferiv( ALuint bid, ALenum param, const ALint* values ); extern void alGetBufferf( ALuint bid, ALenum param, ALfloat* value ); extern void alGetBuffer3f( ALuint bid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3); extern void alGetBufferfv( ALuint bid, ALenum param, ALfloat* values ); extern void alGetBufferi( ALuint bid, ALenum param, ALint* value ); extern void alGetBuffer3i( ALuint bid, ALenum param, ALint* value1, ALint* value2, ALint* value3); extern void alGetBufferiv( ALuint bid, ALenum param, ALint* values ); extern void alDopplerFactor( ALfloat value ); extern void alDopplerVelocity( ALfloat value ); extern void alSpeedOfSound( ALfloat value ); extern void alDistanceModel( ALenum distanceModel ); # 820 "/usr/include/AL/al.h" 3 4 } # 2 "altest.cpp" 2 # 1 "/usr/include/AL/alc.h" 1 3 4 extern "C" { # 31 "/usr/include/AL/alc.h" 3 4 typedef struct ALCdevice_struct ALCdevice; typedef struct ALCcontext_struct ALCcontext; typedef char ALCboolean; typedef char ALCchar; typedef char ALCbyte; typedef unsigned char ALCubyte; typedef short ALCshort; typedef unsigned short ALCushort; typedef int ALCint; typedef unsigned int ALCuint; typedef int ALCsizei; typedef int ALCenum; typedef float ALCfloat; typedef double ALCdouble; typedef void ALCvoid; # 172 "/usr/include/AL/alc.h" 3 4 extern ALCcontext * alcCreateContext( ALCdevice *device, const ALCint* attrlist ); extern ALCboolean alcMakeContextCurrent( ALCcontext *context ); extern void alcProcessContext( ALCcontext *context ); extern void alcSuspendContext( ALCcontext *context ); extern void alcDestroyContext( ALCcontext *context ); extern ALCcontext * alcGetCurrentContext( ALCvoid ); extern ALCdevice* alcGetContextsDevice( ALCcontext *context ); extern ALCdevice * alcOpenDevice( const ALCchar *devicename ); extern ALCboolean alcCloseDevice( ALCdevice *device ); extern ALCenum alcGetError( ALCdevice *device ); extern ALCboolean alcIsExtensionPresent( ALCdevice *device, const ALCchar *extname ); extern void * alcGetProcAddress( ALCdevice *device, const ALCchar *funcname ); extern ALCenum alcGetEnumValue( ALCdevice *device, const ALCchar *enumname ); extern const ALCchar * alcGetString( ALCdevice *device, ALCenum param ); extern void alcGetIntegerv( ALCdevice *device, ALCenum param, ALCsizei size, ALCint *data ); extern ALCdevice* alcCaptureOpenDevice( const ALCchar *devicename, ALCuint frequency, ALCenum format, ALCsizei buffersize ); extern ALCboolean alcCaptureCloseDevice( ALCdevice *device ); extern void alcCaptureStart( ALCdevice *device ); extern void alcCaptureStop( ALCdevice *device ); extern void alcCaptureSamples( ALCdevice *device, ALCvoid *buffer, ALCsizei samples ); # 287 "/usr/include/AL/alc.h" 3 4 } # 3 "altest.cpp" 2 int main(int argc, char** argv) { alcOpenDevice(0); ; return 0; }