CMGDK r49-rc2
类型定义 | 函数 | 变量
openal名字空间参考

OpenAL EE所使用的名字空间 更多...

类型定义

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
typedef void(* alEnablePROC )(ALenum capability)
typedef void(* alDisablePROC )(ALenum capability)
typedef ALboolean(* alIsEnabledPROC )(ALenum capability)
typedef const ALchar *(* alGetStringPROC )(ALenum param)
typedef void(* alGetBooleanvPROC )(ALenum param, ALboolean *data)
typedef void(* alGetIntegervPROC )(ALenum param, ALint *data)
typedef void(* alGetFloatvPROC )(ALenum param, ALfloat *data)
typedef void(* alGetDoublevPROC )(ALenum param, ALdouble *data)
typedef ALboolean(* alGetBooleanPROC )(ALenum param)
typedef ALint(* alGetIntegerPROC )(ALenum param)
typedef ALfloat(* alGetFloatPROC )(ALenum param)
typedef ALdouble(* alGetDoublePROC )(ALenum param)
typedef ALenum(* alGetErrorPROC )(void)
typedef ALboolean(* alIsExtensionPresentPROC )(const ALchar *extname)
typedef void *(* alGetProcAddressPROC )(const ALchar *fname)
typedef ALenum(* alGetEnumValuePROC )(const ALchar *ename)
typedef void(* alListenerfPROC )(ALenum param, ALfloat value)
typedef void(* alListener3fPROC )(ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
typedef void(* alListenerfvPROC )(ALenum param, const ALfloat *values)
typedef void(* alListeneriPROC )(ALenum param, ALint value)
typedef void(* alListener3iPROC )(ALenum param, ALint value1, ALint value2, ALint value3)
typedef void(* alListenerivPROC )(ALenum param, const ALint *values)
typedef void(* alGetListenerfPROC )(ALenum param, ALfloat *value)
typedef void(* alGetListener3fPROC )(ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
typedef void(* alGetListenerfvPROC )(ALenum param, ALfloat *values)
typedef void(* alGetListeneriPROC )(ALenum param, ALint *value)
typedef void(* alGetListener3iPROC )(ALenum param, ALint *value1, ALint *value2, ALint *value3)
typedef void(* alGetListenerivPROC )(ALenum param, ALint *values)
typedef void(* alGenSourcesPROC )(ALsizei n, ALuint *sources)
typedef void(* alDeleteSourcesPROC )(ALsizei n, const ALuint *sources)
typedef ALboolean(* alIsSourcePROC )(ALuint sid)
typedef void(* alSourcefPROC )(ALuint sid, ALenum param, ALfloat value)
typedef void(* alSource3fPROC )(ALuint sid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
typedef void(* alSourcefvPROC )(ALuint sid, ALenum param, const ALfloat *values)
typedef void(* alSourceiPROC )(ALuint sid, ALenum param, ALint value)
typedef void(* alSource3iPROC )(ALuint sid, ALenum param, ALint value1, ALint value2, ALint value3)
typedef void(* alSourceivPROC )(ALuint sid, ALenum param, const ALint *values)
typedef void(* alGetSourcefPROC )(ALuint sid, ALenum param, ALfloat *value)
typedef void(* alGetSource3fPROC )(ALuint sid, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
typedef void(* alGetSourcefvPROC )(ALuint sid, ALenum param, ALfloat *values)
typedef void(* alGetSourceiPROC )(ALuint sid, ALenum param, ALint *value)
typedef void(* alGetSource3iPROC )(ALuint sid, ALenum param, ALint *value1, ALint *value2, ALint *value3)
typedef void(* alGetSourceivPROC )(ALuint sid, ALenum param, ALint *values)
typedef void(* alSourcePlayvPROC )(ALsizei ns, const ALuint *sids)
typedef void(* alSourceStopvPROC )(ALsizei ns, const ALuint *sids)
typedef void(* alSourceRewindvPROC )(ALsizei ns, const ALuint *sids)
typedef void(* alSourcePausevPROC )(ALsizei ns, const ALuint *sids)
typedef void(* alSourcePlayPROC )(ALuint sid)
typedef void(* alSourceStopPROC )(ALuint sid)
typedef void(* alSourceRewindPROC )(ALuint sid)
typedef void(* alSourcePausePROC )(ALuint sid)
typedef void(* alSourceQueueBuffersPROC )(ALuint sid, ALsizei numEntries, const ALuint *bids)
typedef void(* alSourceUnqueueBuffersPROC )(ALuint sid, ALsizei numEntries, ALuint *bids)
typedef void(* alGenBuffersPROC )(ALsizei n, ALuint *buffers)
typedef void(* alDeleteBuffersPROC )(ALsizei n, const ALuint *buffers)
typedef ALboolean(* alIsBufferPROC )(ALuint bid)
typedef void(* alBufferDataPROC )(ALuint bid, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq)
typedef void(* alBufferfPROC )(ALuint bid, ALenum param, ALfloat value)
typedef void(* alBuffer3fPROC )(ALuint bid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
typedef void(* alBufferfvPROC )(ALuint bid, ALenum param, const ALfloat *values)
typedef void(* alBufferiPROC )(ALuint bid, ALenum param, ALint value)
typedef void(* alBuffer3iPROC )(ALuint bid, ALenum param, ALint value1, ALint value2, ALint value3)
typedef void(* alBufferivPROC )(ALuint bid, ALenum param, const ALint *values)
typedef void(* alGetBufferfPROC )(ALuint bid, ALenum param, ALfloat *value)
typedef void(* alGetBuffer3fPROC )(ALuint bid, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
typedef void(* alGetBufferfvPROC )(ALuint bid, ALenum param, ALfloat *values)
typedef void(* alGetBufferiPROC )(ALuint bid, ALenum param, ALint *value)
typedef void(* alGetBuffer3iPROC )(ALuint bid, ALenum param, ALint *value1, ALint *value2, ALint *value3)
typedef void(* alGetBufferivPROC )(ALuint bid, ALenum param, ALint *values)
typedef void(* alDopplerFactorPROC )(ALfloat value)
typedef void(* alDopplerVelocityPROC )(ALfloat value)
typedef void(* alSpeedOfSoundPROC )(ALfloat value)
typedef void(* alDistanceModelPROC )(ALenum distanceModel)
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
typedef ALCcontext *(* alcCreateContextPROC )(ALCdevice *device, const ALCint *attrlist)
typedef ALCboolean(* alcMakeContextCurrentPROC )(ALCcontext *context)
typedef void(* alcProcessContextPROC )(ALCcontext *context)
typedef void(* alcSuspendContextPROC )(ALCcontext *context)
typedef void(* alcDestroyContextPROC )(ALCcontext *context)
typedef ALCcontext *(* alcGetCurrentContextPROC )(void)
typedef ALCdevice *(* alcGetContextsDevicePROC )(ALCcontext *context)
typedef ALCdevice *(* alcOpenDevicePROC )(const ALCchar *devicename)
typedef ALCboolean(* alcCloseDevicePROC )(ALCdevice *device)
typedef ALCenum(* alcGetErrorPROC )(ALCdevice *device)
typedef ALCboolean(* alcIsExtensionPresentPROC )(ALCdevice *device, const ALCchar *extname)
typedef void *(* alcGetProcAddressPROC )(ALCdevice *device, const ALCchar *funcname)
typedef ALCenum(* alcGetEnumValuePROC )(ALCdevice *device, const ALCchar *enumname)
typedef const ALCchar *(* alcGetStringPROC )(ALCdevice *device, ALCenum param)
typedef void(* alcGetIntegervPROC )(ALCdevice *device, ALCenum param, ALCsizei size, ALCint *data)
typedef ALCdevice *(* alcCaptureOpenDevicePROC )(const ALCchar *devicename, ALCuint frequency, ALCenum format, ALCsizei buffersize)
typedef ALCboolean(* alcCaptureCloseDevicePROC )(ALCdevice *device)
typedef void(* alcCaptureStartPROC )(ALCdevice *device)
typedef void(* alcCaptureStopPROC )(ALCdevice *device)
typedef void(* alcCaptureSamplesPROC )(ALCdevice *device, ALCvoid *buffer, ALCsizei samples)
typedef void(__cdecl * LPALGENEFFECTS )(ALsizei n, ALuint *effects)
typedef void(__cdecl * LPALDELETEEFFECTS )(ALsizei n, ALuint *effects)
typedef ALboolean(__cdecl * LPALISEFFECT )(ALuint eid)
typedef void(__cdecl * LPALEFFECTI )(ALuint eid, ALenum param, ALint value)
typedef void(__cdecl * LPALEFFECTIV )(ALuint eid, ALenum param, ALint *values)
typedef void(__cdecl * LPALEFFECTF )(ALuint eid, ALenum param, ALfloat value)
typedef void(__cdecl * LPALEFFECTFV )(ALuint eid, ALenum param, ALfloat *values)
typedef void(__cdecl * LPALGETEFFECTI )(ALuint eid, ALenum pname, ALint *value)
typedef void(__cdecl * LPALGETEFFECTIV )(ALuint eid, ALenum pname, ALint *values)
typedef void(__cdecl * LPALGETEFFECTF )(ALuint eid, ALenum pname, ALfloat *value)
typedef void(__cdecl * LPALGETEFFECTFV )(ALuint eid, ALenum pname, ALfloat *values)
typedef void(__cdecl * LPALGENFILTERS )(ALsizei n, ALuint *filters)
typedef void(__cdecl * LPALDELETEFILTERS )(ALsizei n, ALuint *filters)
typedef ALboolean(__cdecl * LPALISFILTER )(ALuint fid)
typedef void(__cdecl * LPALFILTERI )(ALuint fid, ALenum param, ALint value)
typedef void(__cdecl * LPALFILTERIV )(ALuint fid, ALenum param, ALint *values)
typedef void(__cdecl * LPALFILTERF )(ALuint fid, ALenum param, ALfloat value)
typedef void(__cdecl * LPALFILTERFV )(ALuint fid, ALenum param, ALfloat *values)
typedef void(__cdecl * LPALGETFILTERI )(ALuint fid, ALenum pname, ALint *value)
typedef void(__cdecl * LPALGETFILTERIV )(ALuint fid, ALenum pname, ALint *values)
typedef void(__cdecl * LPALGETFILTERF )(ALuint fid, ALenum pname, ALfloat *value)
typedef void(__cdecl * LPALGETFILTERFV )(ALuint fid, ALenum pname, ALfloat *values)
typedef void(__cdecl * LPALGENAUXILIARYEFFECTSLOTS )(ALsizei n, ALuint *slots)
typedef void(__cdecl * LPALDELETEAUXILIARYEFFECTSLOTS )(ALsizei n, ALuint *slots)
typedef ALboolean(__cdecl * LPALISAUXILIARYEFFECTSLOT )(ALuint slot)
typedef void(__cdecl * LPALAUXILIARYEFFECTSLOTI )(ALuint asid, ALenum param, ALint value)
typedef void(__cdecl * LPALAUXILIARYEFFECTSLOTIV )(ALuint asid, ALenum param, ALint *values)
typedef void(__cdecl * LPALAUXILIARYEFFECTSLOTF )(ALuint asid, ALenum param, ALfloat value)
typedef void(__cdecl * LPALAUXILIARYEFFECTSLOTFV )(ALuint asid, ALenum param, ALfloat *values)
typedef void(__cdecl * LPALGETAUXILIARYEFFECTSLOTI )(ALuint asid, ALenum pname, ALint *value)
typedef void(__cdecl * LPALGETAUXILIARYEFFECTSLOTIV )(ALuint asid, ALenum pname, ALint *values)
typedef void(__cdecl * LPALGETAUXILIARYEFFECTSLOTF )(ALuint asid, ALenum pname, ALfloat *value)
typedef void(__cdecl * LPALGETAUXILIARYEFFECTSLOTFV )(ALuint asid, ALenum pname, ALfloat *values)
typedef ALboolean(__cdecl * LPEAXSETBUFFERMODE )(ALsizei n, ALuint *buffers, ALint value)
typedef ALenum(__cdecl * LPEAXGETBUFFERMODE )(ALuint buffer, ALint *value)

函数

bool LoadOpenAL (const wchar_t *=0)
const char * alcGetDeviceList ()
bool alcGetDefaultDevice (char *)
void alcSetDefaultContext ()
wchar_t * alGetErrorInfo (char *, int)
bool InitOpenAL (const wchar_t *driver_name=0, const char *device_name=0, bool=false)
bool InitOpenAL (const wchar_t *driver_name=0, const wchar_t *device_name=0, bool=false)
void CloseOpenAL ()
unsigned int AudioTime (ALenum, ALsizei)
double AudioDataTime (ALuint, ALenum, ALsizei)
void LoadALFunc (void *_dll)
void ClearAL ()
void LoadALCFunc (void *_dll)
void ClearALC ()
bool CheckEFX (ALCdevice_struct *AudioDevice)
void ClearEFX ()
bool CheckXRAM (ALCdevice_struct *)
void ClearXRAM ()
void EnumOpenALDevice ()
double AudioDataTime (ALuint size, ALenum format, ALsizei freq)
unsigned int AudioTime (ALenum format, ALsizei freq)
unsigned int GetMaxNumSources ()
wchar_t * alGetErrorInfo (char *file, int line)
void PutOpenALInfo ()
bool InitOpenALEE (const wchar_t *driver_name, const char *device_name, bool create_log)
void CloseOpenALEE ()

变量

alEnablePROC alEnable = NULL
alDisablePROC alDisable = NULL
alIsEnabledPROC alIsEnabled = NULL
alGetStringPROC alGetString = NULL
alGetBooleanvPROC alGetBooleanv = NULL
alGetIntegervPROC alGetIntegerv = NULL
alGetFloatvPROC alGetFloatv = NULL
alGetDoublevPROC alGetDoublev = NULL
alGetBooleanPROC alGetBoolean = NULL
alGetIntegerPROC alGetInteger = NULL
alGetFloatPROC alGetFloat = NULL
alGetDoublePROC alGetDouble = NULL
alGetErrorPROC alGetError = NULL
alIsExtensionPresentPROC alIsExtensionPresent = NULL
alGetProcAddressPROC alGetProcAddress = NULL
alGetEnumValuePROC alGetEnumValue = NULL
alListenerfPROC alListenerf = NULL
alListener3fPROC alListener3f = NULL
alListenerfvPROC alListenerfv = NULL
alListeneriPROC alListeneri = NULL
alListener3iPROC alListener3i = NULL
alListenerivPROC alListeneriv = NULL
alGetListenerfPROC alGetListenerf = NULL
alGetListener3fPROC alGetListener3f = NULL
alGetListenerfvPROC alGetListenerfv = NULL
alGetListeneriPROC alGetListeneri = NULL
alGetListener3iPROC alGetListener3i = NULL
alGetListenerivPROC alGetListeneriv = NULL
alGenSourcesPROC alGenSources = NULL
alDeleteSourcesPROC alDeleteSources = NULL
alIsSourcePROC alIsSource = NULL
alSourcefPROC alSourcef = NULL
alSource3fPROC alSource3f = NULL
alSourcefvPROC alSourcefv = NULL
alSourceiPROC alSourcei = NULL
alSource3iPROC alSource3i = NULL
alSourceivPROC alSourceiv = NULL
alGetSourcefPROC alGetSourcef = NULL
alGetSource3fPROC alGetSource3f = NULL
alGetSourcefvPROC alGetSourcefv = NULL
alGetSourceiPROC alGetSourcei = NULL
alGetSource3iPROC alGetSource3i = NULL
alGetSourceivPROC alGetSourceiv = NULL
alSourcePlayvPROC alSourcePlayv = NULL
alSourceStopvPROC alSourceStopv = NULL
alSourceRewindvPROC alSourceRewindv = NULL
alSourcePausevPROC alSourcePausev = NULL
alSourcePlayPROC alSourcePlay = NULL
alSourceStopPROC alSourceStop = NULL
alSourceRewindPROC alSourceRewind = NULL
alSourcePausePROC alSourcePause = NULL
alSourceQueueBuffersPROC alSourceQueueBuffers = NULL
alSourceUnqueueBuffersPROC alSourceUnqueueBuffers = NULL
alGenBuffersPROC alGenBuffers = NULL
alDeleteBuffersPROC alDeleteBuffers = NULL
alIsBufferPROC alIsBuffer = NULL
alBufferDataPROC alBufferData = NULL
alBufferfPROC alBufferf = NULL
alBuffer3fPROC alBuffer3f = NULL
alBufferfvPROC alBufferfv = NULL
alBufferiPROC alBufferi = NULL
alBuffer3iPROC alBuffer3i = NULL
alBufferivPROC alBufferiv = NULL
alGetBufferfPROC alGetBufferf = NULL
alGetBuffer3fPROC alGetBuffer3f = NULL
alGetBufferfvPROC alGetBufferfv = NULL
alGetBufferiPROC alGetBufferi = NULL
alGetBuffer3iPROC alGetBuffer3i = NULL
alGetBufferivPROC alGetBufferiv = NULL
alDopplerFactorPROC alDopplerFactor = NULL
alDopplerVelocityPROC alDopplerVelocity = NULL
alSpeedOfSoundPROC alSpeedOfSound = NULL
alDistanceModelPROC alDistanceModel = NULL
alcCreateContextPROC alcCreateContext = NULL
alcMakeContextCurrentPROC alcMakeContextCurrent = NULL
alcProcessContextPROC alcProcessContext = NULL
alcSuspendContextPROC alcSuspendContext = NULL
alcDestroyContextPROC alcDestroyContext = NULL
alcGetCurrentContextPROC alcGetCurrentContext = NULL
alcGetContextsDevicePROC alcGetContextsDevice = NULL
alcOpenDevicePROC alcOpenDevice = NULL
alcCloseDevicePROC alcCloseDevice = NULL
alcGetErrorPROC alcGetError = NULL
alcIsExtensionPresentPROC alcIsExtensionPresent = NULL
alcGetProcAddressPROC alcGetProcAddress = NULL
alcGetEnumValuePROC alcGetEnumValue = NULL
alcGetStringPROC alcGetString = NULL
alcGetIntegervPROC alcGetIntegerv = NULL
alcCaptureOpenDevicePROC alcCaptureOpenDevice = NULL
alcCaptureCloseDevicePROC alcCaptureCloseDevice = NULL
alcCaptureStartPROC alcCaptureStart = NULL
alcCaptureStopPROC alcCaptureStop = NULL
alcCaptureSamplesPROC alcCaptureSamples = NULL
LPALGENEFFECTS alGenEffects = 0
LPALDELETEEFFECTS alDeleteEffects = 0
LPALISEFFECT alIsEffect = 0
LPALEFFECTI alEffecti = 0
LPALEFFECTIV alEffectiv = 0
LPALEFFECTF alEffectf = 0
LPALEFFECTFV alEffectfv = 0
LPALGETEFFECTI alGetEffecti = 0
LPALGETEFFECTIV alGetEffectiv = 0
LPALGETEFFECTF alGetEffectf = 0
LPALGETEFFECTFV alGetEffectfv = 0
LPALGENFILTERS alGenFilters = 0
LPALDELETEFILTERS alDeleteFilters = 0
LPALISFILTER alIsFilter = 0
LPALFILTERI alFilteri = 0
LPALFILTERIV alFilteriv = 0
LPALFILTERF alFilterf = 0
LPALFILTERFV alFilterfv = 0
LPALGETFILTERI alGetFilteri = 0
LPALGETFILTERIV alGetFilteriv = 0
LPALGETFILTERF alGetFilterf = 0
LPALGETFILTERFV alGetFilterfv = 0
LPALGENAUXILIARYEFFECTSLOTS alGenAuxiliaryEffectSlots = 0
LPALDELETEAUXILIARYEFFECTSLOTS alDeleteAuxiliaryEffectSlots = 0
LPALISAUXILIARYEFFECTSLOT alIsAuxiliaryEffectSlot = 0
LPALAUXILIARYEFFECTSLOTI alAuxiliaryEffectSloti = 0
LPALAUXILIARYEFFECTSLOTIV alAuxiliaryEffectSlotiv = 0
LPALAUXILIARYEFFECTSLOTF alAuxiliaryEffectSlotf = 0
LPALAUXILIARYEFFECTSLOTFV alAuxiliaryEffectSlotfv = 0
LPALGETAUXILIARYEFFECTSLOTI alGetAuxiliaryEffectSloti = 0
LPALGETAUXILIARYEFFECTSLOTIV alGetAuxiliaryEffectSlotiv = 0
LPALGETAUXILIARYEFFECTSLOTF alGetAuxiliaryEffectSlotf = 0
LPALGETAUXILIARYEFFECTSLOTFV alGetAuxiliaryEffectSlotfv = 0
LPEAXSETBUFFERMODE eaxSetBufferMode = 0
LPEAXGETBUFFERMODE eaxGetBufferMode = 0
ALenum eXRAMSize = 0
ALenum eXRAMFree = 0
ALenum eXRAMAuto = 0
ALenum eXRAMHardware = 0
ALenum eXRAMAccessible = 0

详细描述

OpenAL EE所使用的名字空间


类型定义文档

typedef char openal::ALboolean
typedef void(* openal::alBuffer3fPROC)(ALuint bid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
typedef void(* openal::alBuffer3iPROC)(ALuint bid, ALenum param, ALint value1, ALint value2, ALint value3)
typedef void(* openal::alBufferDataPROC)(ALuint bid, ALenum format, const ALvoid *data, ALsizei size, ALsizei freq)
typedef void(* openal::alBufferfvPROC)(ALuint bid, ALenum param, const ALfloat *values)
typedef void(* openal::alBufferivPROC)(ALuint bid, ALenum param, const ALint *values)
typedef char openal::ALbyte
typedef char openal::ALCboolean
typedef char openal::ALCbyte
typedef ALCdevice*(* openal::alcCaptureOpenDevicePROC)(const ALCchar *devicename, ALCuint frequency, ALCenum format, ALCsizei buffersize)
typedef void(* openal::alcCaptureStartPROC)(ALCdevice *device)
typedef void(* openal::alcCaptureStopPROC)(ALCdevice *device)
typedef char openal::ALCchar
typedef struct ALCcontext_struct openal::ALCcontext
typedef ALCcontext*(* openal::alcCreateContextPROC)(ALCdevice *device, const ALCint *attrlist)
typedef void(* openal::alcDestroyContextPROC)(ALCcontext *context)
typedef struct ALCdevice_struct openal::ALCdevice
typedef double openal::ALCdouble
typedef int openal::ALCenum
typedef float openal::ALCfloat
typedef ALCenum(* openal::alcGetEnumValuePROC)(ALCdevice *device, const ALCchar *enumname)
typedef void*(* openal::alcGetProcAddressPROC)(ALCdevice *device, const ALCchar *funcname)
typedef char openal::ALchar
typedef int openal::ALCint
typedef ALCboolean(* openal::alcIsExtensionPresentPROC)(ALCdevice *device, const ALCchar *extname)
typedef ALCdevice*(* openal::alcOpenDevicePROC)(const ALCchar *devicename)
typedef void(* openal::alcProcessContextPROC)(ALCcontext *context)
typedef short openal::ALCshort
typedef int openal::ALCsizei
typedef void(* openal::alcSuspendContextPROC)(ALCcontext *context)
typedef unsigned char openal::ALCubyte
typedef unsigned int openal::ALCuint
typedef unsigned short openal::ALCushort
typedef void openal::ALCvoid
typedef void(* openal::alDisablePROC)(ALenum capability)
typedef void(* openal::alDistanceModelPROC)(ALenum distanceModel)
typedef double openal::ALdouble
typedef void(* openal::alEnablePROC)(ALenum capability)
typedef int openal::ALenum
typedef float openal::ALfloat
typedef void(* openal::alGetBuffer3fPROC)(ALuint bid, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
typedef void(* openal::alGetBuffer3iPROC)(ALuint bid, ALenum param, ALint *value1, ALint *value2, ALint *value3)
typedef ALenum(* openal::alGetEnumValuePROC)(const ALchar *ename)
typedef ALenum(* openal::alGetErrorPROC)(void)
typedef void(* openal::alGetListener3fPROC)(ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
typedef void(* openal::alGetListener3iPROC)(ALenum param, ALint *value1, ALint *value2, ALint *value3)
typedef void*(* openal::alGetProcAddressPROC)(const ALchar *fname)
typedef void(* openal::alGetSource3fPROC)(ALuint sid, ALenum param, ALfloat *value1, ALfloat *value2, ALfloat *value3)
typedef void(* openal::alGetSource3iPROC)(ALuint sid, ALenum param, ALint *value1, ALint *value2, ALint *value3)
typedef int openal::ALint
typedef ALboolean(* openal::alIsEnabledPROC)(ALenum capability)
typedef void(* openal::alListener3fPROC)(ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
typedef void(* openal::alListener3iPROC)(ALenum param, ALint value1, ALint value2, ALint value3)
typedef void(* openal::alListenerivPROC)(ALenum param, const ALint *values)
typedef short openal::ALshort
typedef int openal::ALsizei
typedef void(* openal::alSource3fPROC)(ALuint sid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3)
typedef void(* openal::alSource3iPROC)(ALuint sid, ALenum param, ALint value1, ALint value2, ALint value3)
typedef void(* openal::alSourcefvPROC)(ALuint sid, ALenum param, const ALfloat *values)
typedef void(* openal::alSourceivPROC)(ALuint sid, ALenum param, const ALint *values)
typedef void(* openal::alSourcePausePROC)(ALuint sid)
typedef void(* openal::alSourcePausevPROC)(ALsizei ns, const ALuint *sids)
typedef void(* openal::alSourcePlayPROC)(ALuint sid)
typedef void(* openal::alSourcePlayvPROC)(ALsizei ns, const ALuint *sids)
typedef void(* openal::alSourceQueueBuffersPROC)(ALuint sid, ALsizei numEntries, const ALuint *bids)
typedef void(* openal::alSourceRewindPROC)(ALuint sid)
typedef void(* openal::alSourceRewindvPROC)(ALsizei ns, const ALuint *sids)
typedef void(* openal::alSourceStopPROC)(ALuint sid)
typedef void(* openal::alSourceStopvPROC)(ALsizei ns, const ALuint *sids)
typedef void(* openal::alSourceUnqueueBuffersPROC)(ALuint sid, ALsizei numEntries, ALuint *bids)
typedef unsigned char openal::ALubyte
typedef unsigned int openal::ALuint
typedef unsigned short openal::ALushort
typedef void openal::ALvoid
typedef void(__cdecl * openal::LPALDELETEAUXILIARYEFFECTSLOTS)(ALsizei n, ALuint *slots)
typedef void(__cdecl * openal::LPALDELETEEFFECTS)(ALsizei n, ALuint *effects)
typedef void(__cdecl * openal::LPALDELETEFILTERS)(ALsizei n, ALuint *filters)
typedef void(__cdecl * openal::LPALEFFECTF)(ALuint eid, ALenum param, ALfloat value)
typedef void(__cdecl * openal::LPALEFFECTFV)(ALuint eid, ALenum param, ALfloat *values)
typedef void(__cdecl * openal::LPALEFFECTI)(ALuint eid, ALenum param, ALint value)
typedef void(__cdecl * openal::LPALEFFECTIV)(ALuint eid, ALenum param, ALint *values)
typedef void(__cdecl * openal::LPALFILTERF)(ALuint fid, ALenum param, ALfloat value)
typedef void(__cdecl * openal::LPALFILTERFV)(ALuint fid, ALenum param, ALfloat *values)
typedef void(__cdecl * openal::LPALFILTERI)(ALuint fid, ALenum param, ALint value)
typedef void(__cdecl * openal::LPALFILTERIV)(ALuint fid, ALenum param, ALint *values)
typedef void(__cdecl * openal::LPALGENAUXILIARYEFFECTSLOTS)(ALsizei n, ALuint *slots)

Auxiliary Slot object functions

typedef void(__cdecl * openal::LPALGENEFFECTS)(ALsizei n, ALuint *effects)

Effect object functions.

typedef void(__cdecl * openal::LPALGENFILTERS)(ALsizei n, ALuint *filters)

Filter object functions

typedef void(__cdecl * openal::LPALGETEFFECTF)(ALuint eid, ALenum pname, ALfloat *value)
typedef void(__cdecl * openal::LPALGETEFFECTFV)(ALuint eid, ALenum pname, ALfloat *values)
typedef void(__cdecl * openal::LPALGETEFFECTI)(ALuint eid, ALenum pname, ALint *value)
typedef void(__cdecl * openal::LPALGETEFFECTIV)(ALuint eid, ALenum pname, ALint *values)
typedef void(__cdecl * openal::LPALGETFILTERF)(ALuint fid, ALenum pname, ALfloat *value)
typedef void(__cdecl * openal::LPALGETFILTERFV)(ALuint fid, ALenum pname, ALfloat *values)
typedef void(__cdecl * openal::LPALGETFILTERI)(ALuint fid, ALenum pname, ALint *value)
typedef void(__cdecl * openal::LPALGETFILTERIV)(ALuint fid, ALenum pname, ALint *values)
typedef ALboolean(__cdecl * openal::LPALISEFFECT)(ALuint eid)
typedef ALboolean(__cdecl * openal::LPALISFILTER)(ALuint fid)

函数文档

bool openal::alcGetDefaultDevice ( char *  name)
const char * openal::alcGetDeviceList ( )
void openal::alcSetDefaultContext ( )
wchar_t* openal::alGetErrorInfo ( char *  ,
int   
)
wchar_t* openal::alGetErrorInfo ( char *  file,
int  line 
)
double openal::AudioDataTime ( ALuint  ,
ALenum  ,
ALsizei   
)
double openal::AudioDataTime ( ALuint  size,
ALenum  format,
ALsizei  freq 
)

计算音频数据可播放的时间

参数:
size数据字节长度
format数据格式
freq数据采样率
返回:
时间(秒)
unsigned int openal::AudioTime ( ALenum  ,
ALsizei   
)
unsigned int openal::AudioTime ( ALenum  format,
ALsizei  freq 
)

计算一秒钟音频数据所需要的字节数

参数:
format数据格式
freq数据采样率
返回:
时间(秒)
bool openal::CheckEFX ( ALCdevice_struct *  AudioDevice)
bool openal::CheckXRAM ( ALCdevice_struct *  AudioDevice)
void openal::ClearAL ( )
void openal::ClearALC ( )
void openal::ClearEFX ( )
void openal::ClearXRAM ( )
void openal::CloseOpenAL ( )

关闭OpenAL

void openal::CloseOpenALEE ( )
void openal::EnumOpenALDevice ( )
unsigned int openal::GetMaxNumSources ( )
bool openal::InitOpenAL ( const wchar_t *  driver_name,
const char *  device_name,
bool  enum_device 
)

初始化OpenAL

参数:
driver_name驱动名称,如果不写则自动查找
device_name设备名称,如果不写则自动选择缺省设备
enum_device是否枚举所有的设备
返回:
是否初始化成功
bool openal::InitOpenAL ( const wchar_t *  driver_name = 0,
const wchar_t *  device_name = 0,
bool  = false 
)

初始化OpenAL

参数:
driver_name驱动名称,如果不写则自动查找
device_name设备名称,如果不写则自动选择缺省设备
enum_device是否枚举所有的设备
返回:
是否初始化成功
bool openal::InitOpenALEE ( const wchar_t *  driver_name,
const char *  device_name,
bool  create_log 
)
void openal::LoadALCFunc ( void *  _dll)
void openal::LoadALFunc ( void *  _dll)
bool openal::LoadOpenAL ( const wchar_t *  filename)

加载OpenAL

返回:
加载OpenAL是否成功
void openal::PutOpenALInfo ( )

变量文档

 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义