From 99f685d20d0e9bece99a6019a98d8cb3aecef227 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 26 Feb 2016 21:48:03 -0800 Subject: Add an option for pair-wise stereo panning --- OpenAL32/Include/alMain.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'OpenAL32') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index f9532727..8c75cb83 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -387,10 +387,10 @@ enum DeviceType { }; -enum HrtfMode { - DisabledHrtf, - BasicHrtf, - FullHrtf +enum RenderMode { + NormalRender, + StereoPair, + HrtfRender }; @@ -465,7 +465,6 @@ struct ALCdevice_struct al_string Hrtf_Name; const struct Hrtf *Hrtf; ALCenum Hrtf_Status; - enum HrtfMode Hrtf_Mode; HrtfState Hrtf_State[MAX_OUTPUT_CHANNELS]; HrtfParams Hrtf_Params[MAX_OUTPUT_CHANNELS]; ALuint Hrtf_Offset; @@ -476,6 +475,9 @@ struct ALCdevice_struct // Stereo-to-binaural filter struct bs2b *Bs2b; + /* Rendering mode. */ + enum RenderMode Render_Mode; + // Device flags ALuint Flags; -- cgit v1.2.3