diff options
author | Chris Robinson <[email protected]> | 2021-10-24 11:51:39 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-10-24 11:51:39 -0700 |
commit | 49a36334bd8255094d780ffb78cce75135190533 (patch) | |
tree | 9abef164c0f597d945b1576e2bc6f1c6f240ec15 /alc/alu.h | |
parent | 096bed35fabf4d912ae62809cecb3819d2b91e5f (diff) |
Use a tri-state optional for the stereo output mode
Diffstat (limited to 'alc/alu.h')
-rw-r--r-- | alc/alu.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -7,6 +7,8 @@ struct ALCcontext; struct ALCdevice; struct EffectSlot; +enum class StereoEncoding : unsigned char; + constexpr float GainMixMax{1000.0f}; /* +60dB */ @@ -20,7 +22,7 @@ void aluInit(void); * Set up the appropriate panning method and mixing method given the device * properties. */ -void aluInitRenderer(ALCdevice *device, int hrtf_id, al::optional<bool> hrtfreq, bool useuhj); +void aluInitRenderer(ALCdevice *device, int hrtf_id, al::optional<StereoEncoding> stereomode); void aluInitEffectPanning(EffectSlot *slot, ALCcontext *context); |