aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-04-14 15:25:12 -0700
committerChris Robinson <[email protected]>2016-04-14 15:27:19 -0700
commit65a9b97e46de9a1d0d81e0e32e3232bac24f14ba (patch)
treef44b64d6e4d1971d5f1f294e7641962aea2e298e /OpenAL32/Include
parent221281688f29878eeacb6c87763d46d0ba27a1da (diff)
Move the InitRenderer method to panning.c
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alu.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index a70daa46..81f1cb77 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -278,11 +278,21 @@ inline ALfloat resample_fir8(ALfloat val0, ALfloat val1, ALfloat val2, ALfloat v
}
+enum HrtfRequestMode {
+ Hrtf_Default = 0,
+ Hrtf_Enable = 1,
+ Hrtf_Disable = 2,
+};
+
+
void aluInitMixer(void);
-ALvoid aluInitPanning(ALCdevice *Device);
-ALvoid aluInitHrtfPanning(ALCdevice *device);
-ALvoid aluInitUhjPanning(ALCdevice *device);
+/* aluInitRenderer
+ *
+ * Set up the appropriate panning method and mixing method given the device
+ * properties.
+ */
+void aluInitRenderer(ALCdevice *device, ALint hrtf_id, enum HrtfRequestMode hrtf_appreq, enum HrtfRequestMode hrtf_userreq);
void aluInitEffectPanning(struct ALeffectslot *slot);