diff options
author | Chris Robinson <[email protected]> | 2011-03-12 06:35:45 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-03-12 06:35:45 -0800 |
commit | 20c8f9fe31b1136346b244695867122f36ae7543 (patch) | |
tree | c6d227a55c50ffbc1146fe63fd707399984d6138 /include | |
parent | 66ee3bc21757c71aaa6af7f872a8db9eda0b5be2 (diff) |
Add AL_EXT_FOLDBACK to alext.h
Diffstat (limited to 'include')
-rw-r--r-- | include/AL/alext.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/AL/alext.h b/include/AL/alext.h index f3c7bcae..df966bca 100644 --- a/include/AL/alext.h +++ b/include/AL/alext.h @@ -158,6 +158,23 @@ AL_API ALvoid AL_APIENTRY alBufferSubDataSOFT(ALuint buffer,ALenum format,const #define AL_LOOP_POINTS_SOFT 0x2015 #endif +#ifndef AL_EXT_FOLDBACK +#define AL_EXT_FOLDBACK 1 +#define AL_EXT_FOLDBACK_NAME "AL_EXT_FOLDBACK" +#define AL_FOLDBACK_EVENT_BLOCK 0x4112 +#define AL_FOLDBACK_EVENT_START 0x4111 +#define AL_FOLDBACK_EVENT_STOP 0x4113 +#define AL_FOLDBACK_MODE_MONO 0x4101 +#define AL_FOLDBACK_MODE_STEREO 0x4102 +typedef void (AL_APIENTRY*LPALFOLDBACKCALLBACK)(ALenum,ALsizei); +typedef void (AL_APIENTRY*LPALREQUESTFOLDBACKSTART)(ALenum,ALsizei,ALsizei,ALfloat*,LPALFOLDBACKCALLBACK); +typedef void (AL_APIENTRY*LPALREQUESTFOLDBACKSTOP)(void); +#ifdef AL_ALEXT_PROTOTYPES +AL_API void AL_APIENTRY alRequestFoldbackStart(ALenum mode,ALsizei count,ALsizei length,ALfloat *mem,LPALFOLDBACKCALLBACK callback); +AL_API void AL_APIENTRY alRequestFoldbackStop(void); +#endif +#endif + #ifdef __cplusplus } #endif |