aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-10-24 11:51:39 -0700
committerChris Robinson <[email protected]>2021-10-24 11:51:39 -0700
commit49a36334bd8255094d780ffb78cce75135190533 (patch)
tree9abef164c0f597d945b1576e2bc6f1c6f240ec15 /alc/alu.h
parent096bed35fabf4d912ae62809cecb3819d2b91e5f (diff)
Use a tri-state optional for the stereo output mode
Diffstat (limited to 'alc/alu.h')
-rw-r--r--alc/alu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/alc/alu.h b/alc/alu.h
index addf6942..7b92bba1 100644
--- a/alc/alu.h
+++ b/alc/alu.h
@@ -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);