diff options
author | Chris Robinson <[email protected]> | 2019-12-28 11:33:19 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-12-28 11:33:19 -0800 |
commit | 701d43b41e1976f4a06622df0baa0f284aaaf022 (patch) | |
tree | 306c040364bc50b153ecc078d8b8670b3ac97eae /alc/voice.h | |
parent | 3b3d3d3a03c3f39e758b3b9b41649b86314eb413 (diff) |
Start a new extension for a new direct_channels state
So existing behavior remains consistent for anything that needs it, and new
behavior is opt-in.
Diffstat (limited to 'alc/voice.h')
-rw-r--r-- | alc/voice.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/alc/voice.h b/alc/voice.h index 67678cd9..4bfee7bc 100644 --- a/alc/voice.h +++ b/alc/voice.h @@ -24,6 +24,12 @@ enum SpatializeMode { SpatializeAuto = AL_AUTO_SOFT }; +enum class DirectMode : unsigned char { + Off = AL_FALSE, + DropMismatch = AL_DROP_UNMATCHED_SOFT, + RemixMismatch = AL_REMIX_UNMATCHED_SOFT +}; + enum class Resampler { Point, Linear, @@ -134,7 +140,7 @@ struct ALvoicePropsBase { bool HeadRelative; DistanceModel mDistanceModel; Resampler mResampler; - bool DirectChannels; + DirectMode DirectChannels; SpatializeMode mSpatializeMode; bool DryGainHFAuto; |