diff options
author | Chris Robinson <[email protected]> | 2017-05-05 02:41:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-05-05 02:41:34 -0700 |
commit | 9c9ad2f60aead15416c8b582e20fadf847a13ce8 (patch) | |
tree | 79f8026ca8eadbbcd8940056cc8a1e81d63f5a50 /OpenAL32/Include | |
parent | b639bc99132015217ff173680e1a43f44fad2ce3 (diff) |
Start an extension to change the source's spatialize property
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 6 | ||||
-rw-r--r-- | OpenAL32/Include/alu.h | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 1ace123c..1b1b1909 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -144,6 +144,12 @@ AL_API ALboolean AL_APIENTRY alIsBufferFormatSupportedSOFT(ALenum format); #define ALC_OUTPUT_LIMITER_SOFT 0x199A #endif +#ifndef AL_SOFT_source_spatialize +#define AL_SOFT_source_spatialize +#define AL_SOURCE_SPATIALIZE_SOFT 0x1213 +#define AL_AUTO_SOFT 0x0002 +#endif + #if defined(_WIN64) #define SZFMT "%I64u" diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index cccc9719..5cd233b9 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -41,9 +41,9 @@ struct ALeffectslot; enum SpatializeMode { - SpatializeOff, - SpatializeOn, - SpatializeAuto + SpatializeOff = AL_FALSE, + SpatializeOn = AL_TRUE, + SpatializeAuto = AL_AUTO_SOFT }; enum Resampler { |