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.
This commit is contained in:
Chris Robinson
2016-06-04 08:40:06 -07:00
parent 2c402e1ab5
commit b2041a5ddf
+2 -2
View File
@@ -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 */