#include <AL/al.h>
#include <AL/alc.h>
Go to the source code of this file.
Defines | |
#define | ALUT_API_MAJOR_VERSION 1 |
#define | ALUT_API_MINOR_VERSION 1 |
#define | ALUT_ERROR_NO_ERROR 0 |
#define | ALUT_ERROR_OUT_OF_MEMORY 0x200 |
#define | ALUT_ERROR_INVALID_ENUM 0x201 |
#define | ALUT_ERROR_INVALID_VALUE 0x202 |
#define | ALUT_ERROR_INVALID_OPERATION 0x203 |
#define | ALUT_ERROR_NO_CURRENT_CONTEXT 0x204 |
#define | ALUT_ERROR_AL_ERROR_ON_ENTRY 0x205 |
#define | ALUT_ERROR_ALC_ERROR_ON_ENTRY 0x206 |
#define | ALUT_ERROR_OPEN_DEVICE 0x207 |
#define | ALUT_ERROR_CLOSE_DEVICE 0x208 |
#define | ALUT_ERROR_CREATE_CONTEXT 0x209 |
#define | ALUT_ERROR_MAKE_CONTEXT_CURRENT 0x20A |
#define | ALUT_ERROR_DESTROY_CONTEXT 0x20B |
#define | ALUT_ERROR_GEN_BUFFERS 0x20C |
#define | ALUT_ERROR_BUFFER_DATA 0x20D |
#define | ALUT_ERROR_IO_ERROR 0x20E |
#define | ALUT_ERROR_UNSUPPORTED_FILE_TYPE 0x20F |
#define | ALUT_ERROR_UNSUPPORTED_FILE_SUBTYPE 0x210 |
#define | ALUT_ERROR_CORRUPT_OR_TRUNCATED_DATA 0x211 |
#define | ALUT_WAVEFORM_SINE 0x100 |
#define | ALUT_WAVEFORM_SQUARE 0x101 |
#define | ALUT_WAVEFORM_SAWTOOTH 0x102 |
#define | ALUT_WAVEFORM_WHITENOISE 0x103 |
#define | ALUT_WAVEFORM_IMPULSE 0x104 |
#define | ALUT_LOADER_BUFFER 0x300 |
#define | ALUT_LOADER_MEMORY 0x301 |
Functions | |
ALboolean | alutInit (ALCdevice *device, ALCcontext *context) |
ALboolean | alutInitWithoutContext (int *argcp, char **argv) |
ALboolean | alutExit (void) |
ALenum | alutGetError (void) |
const char * | alutGetErrorString (ALenum error) |
ALuint | alutCreateBufferFromFile (const rchar *fileName) |
ALuint | alutCreateBufferFromFileImage (const ALvoid *data, ALsizei length) |
ALuint | alutCreateBufferHelloWorld (void) |
ALuint | alutCreateBufferWaveform (ALenum waveshape, ALfloat frequency, ALfloat phase, ALfloat duration) |
ALvoid * | alutLoadMemoryFromFile (const rchar *fileName, ALenum *format, ALsizei *size, ALfloat *frequency) |
ALvoid * | alutLoadMemoryFromFileImage (const ALvoid *data, ALsizei length, ALenum *format, ALsizei *size, ALfloat *frequency) |
ALvoid * | alutLoadMemoryHelloWorld (ALenum *format, ALsizei *size, ALfloat *frequency) |
ALvoid * | alutLoadMemoryWaveform (ALenum waveshape, ALfloat frequency, ALfloat phase, ALfloat duration, ALenum *format, ALsizei *size, ALfloat *freq) |
const char * | alutGetMIMETypes (ALenum loader) |
ALint | alutGetMajorVersion (void) |
ALint | alutGetMinorVersion (void) |
ALboolean | alutSleep (ALfloat duration) |
ALuint alutCreateBufferFromFile | ( | const rchar * | fileName | ) |
Definition at line 327 of file alutLoader.cpp.
ALuint alutCreateBufferFromFileImage | ( | const ALvoid * | data, | |
ALsizei | length | |||
) |
Definition at line 339 of file alutLoader.cpp.
ALuint alutCreateBufferHelloWorld | ( | void | ) |
Definition at line 931 of file alutWaveform.cpp.
ALuint alutCreateBufferWaveform | ( | ALenum | waveshape, | |
ALfloat | frequency, | |||
ALfloat | phase, | |||
ALfloat | duration | |||
) |
Definition at line 183 of file alutWaveform.cpp.
ALboolean alutExit | ( | void | ) |
Definition at line 95 of file alutInit.cpp.
ALenum alutGetError | ( | void | ) |
Definition at line 22 of file alutError.cpp.
const char* alutGetErrorString | ( | ALenum | error | ) |
Definition at line 30 of file alutError.cpp.
ALint alutGetMajorVersion | ( | void | ) |
Definition at line 4 of file alutVersion.cpp.
const char* alutGetMIMETypes | ( | ALenum | loader | ) |
Definition at line 506 of file alutLoader.cpp.
ALint alutGetMinorVersion | ( | void | ) |
Definition at line 10 of file alutVersion.cpp.
ALboolean alutInit | ( | ALCdevice * | device, | |
ALCcontext * | context | |||
) |
Definition at line 50 of file alutInit.cpp.
ALboolean alutInitWithoutContext | ( | int * | argcp, | |
char ** | argv | |||
) |
Definition at line 76 of file alutInit.cpp.
ALvoid* alutLoadMemoryFromFile | ( | const rchar * | fileName, | |
ALenum * | format, | |||
ALsizei * | size, | |||
ALfloat * | frequency | |||
) |
Definition at line 399 of file alutLoader.cpp.
ALvoid* alutLoadMemoryFromFileImage | ( | const ALvoid * | data, | |
ALsizei | length, | |||
ALenum * | format, | |||
ALsizei * | size, | |||
ALfloat * | frequency | |||
) |
Definition at line 412 of file alutLoader.cpp.
ALvoid* alutLoadMemoryHelloWorld | ( | ALenum * | format, | |
ALsizei * | size, | |||
ALfloat * | frequency | |||
) |
Definition at line 920 of file alutWaveform.cpp.
ALvoid* alutLoadMemoryWaveform | ( | ALenum | waveshape, | |
ALfloat | frequency, | |||
ALfloat | phase, | |||
ALfloat | duration, | |||
ALenum * | format, | |||
ALsizei * | size, | |||
ALfloat * | freq | |||
) |
Definition at line 145 of file alutWaveform.cpp.
ALboolean alutSleep | ( | ALfloat | duration | ) |
Definition at line 15 of file alutUtil.cpp.