aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-05-03 18:59:26 -0700
committerChris Robinson <[email protected]>2014-05-03 18:59:26 -0700
commitd066c7b124a7efa771996bc7ba09e0e074683739 (patch)
tree3f5b863bf4cb66eff4f09ae7123196968323419e /OpenAL32/alSource.c
parentb2e533fbfc3c61bbf3936750e85039f9f664f007 (diff)
Better pack HRTF mixing properties
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c6
1 files changed, 3 insertions, 3 deletions
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++)