aboutsummaryrefslogtreecommitdiffstats
path: root/alc/voice.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-12-28 11:33:19 -0800
committerChris Robinson <[email protected]>2019-12-28 11:33:19 -0800
commit701d43b41e1976f4a06622df0baa0f284aaaf022 (patch)
tree306c040364bc50b153ecc078d8b8670b3ac97eae /alc/voice.h
parent3b3d3d3a03c3f39e758b3b9b41649b86314eb413 (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.h8
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;