From d066c7b124a7efa771996bc7ba09e0e074683739 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 3 May 2014 18:59:26 -0700 Subject: Better pack HRTF mixing properties --- OpenAL32/alSource.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenAL32/alSource.c') diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index acccd0be..1a1d696f 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -2347,11 +2347,11 @@ ALvoid SetSourceState(ALsource *Source, ALCcontext *Context, ALenum state) for(j = 0;j < MAX_INPUT_CHANNELS;j++) { for(k = 0;k < SRC_HISTORY_LENGTH;k++) - src->Direct.Mix.Hrtf.State.History[j][k] = 0.0f; + src->Direct.Mix.Hrtf.State[j].History[k] = 0.0f; for(k = 0;k < HRIR_LENGTH;k++) { - src->Direct.Mix.Hrtf.State.Values[j][k][0] = 0.0f; - src->Direct.Mix.Hrtf.State.Values[j][k][1] = 0.0f; + src->Direct.Mix.Hrtf.State[j].Values[k][0] = 0.0f; + src->Direct.Mix.Hrtf.State[j].Values[k][1] = 0.0f; } } for(i = 0;i < device->NumAuxSends;i++) -- cgit v1.2.3