aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-06-04 08:40:06 -0700
committerChris Robinson <[email protected]>2016-06-04 08:40:06 -0700
commitb2041a5ddfec78bbde1c63c8674614455ee31f93 (patch)
treec96c63f3eb624c3474a033331da2adc18f093c48 /OpenAL32
parent2c402e1ab524532020b36426375098c39df0e9d8 (diff)
Only define 8 HRTF filter states and params for the device
It will only be used with a cube channel setup, so there's no need to have one for every possible output channel.
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index ed4e56f2..cce2a17d 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -570,8 +570,8 @@ struct ALCdevice_struct
ALCenum Hrtf_Status;
/* HRTF filter state for dry buffer content */
- HrtfState Hrtf_State[MAX_OUTPUT_CHANNELS];
- HrtfParams Hrtf_Params[MAX_OUTPUT_CHANNELS];
+ HrtfState Hrtf_State[8];
+ HrtfParams Hrtf_Params[8];
ALuint Hrtf_Offset;
/* UHJ encoder state */