diff options
author | Chris Robinson <[email protected]> | 2011-05-01 18:18:37 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-05-01 18:18:37 -0700 |
commit | eea86ab8916c5e0213dabc404a191bbf0e0affbe (patch) | |
tree | 4755958ea83e6816039c90f1ed788f29a3245579 /OpenAL32/Include | |
parent | d7a452588cf9fc53c14712949c260e91799c6262 (diff) |
Use flags instead of separate bools
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 9cf2b1a4..09b85baf 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -475,11 +475,8 @@ struct ALCdevice_struct // Simulated dampening from head occlusion ALfloat HeadDampen; - // Duplicate stereo sources on the side/rear channels - ALboolean DuplicateStereo; - - // Use HRTF filters for mixing sounds - ALboolean UseHRTF; + // Device flags + ALuint Flags; // Dry path buffer mix ALfloat DryBuffer[BUFFERSIZE][MAXCHANNELS]; @@ -516,6 +513,12 @@ struct ALCdevice_struct #define ALCdevice_CaptureSamples(a,b,c) ((a)->Funcs->CaptureSamples((a), (b), (c))) #define ALCdevice_AvailableSamples(a) ((a)->Funcs->AvailableSamples((a))) +// Duplicate stereo sources on the side/rear channels +#define DEVICE_DUPLICATE_STEREO (1<<0) +// Use HRTF filters for mixing sounds +#define DEVICE_USE_HRTF (1<<1) + + struct ALCcontext_struct { ALlistener Listener; |