From b2041a5ddfec78bbde1c63c8674614455ee31f93 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 4 Jun 2016 08:40:06 -0700 Subject: [PATCH] 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. --- OpenAL32/Include/alMain.h | 4 ++-- 1 file 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 */ -- 2.11.4.GIT