aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-02-09 05:54:14 -0800
committerChris Robinson <[email protected]>2015-02-09 05:54:14 -0800
commit61755f35c1f0b54d827ef3bfbaaab860d8459357 (patch)
treebd186ab7c9a603c44b95892f0d8ec2e347f9c41d /OpenAL32/alSource.c
parentc297b51a6ea070f16bc6044fda01da5b37aa1cbd (diff)
Move HRTF params and state closer together
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 b05b85c5..239c5380 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -2591,11 +2591,11 @@ ALvoid SetSourceState(ALsource *Source, ALCcontext *Context, ALenum state)
{
ALsizei j;
for(j = 0;j < HRTF_HISTORY_LENGTH;j++)
- voice->Direct.Hrtf.State[i].History[j] = 0.0f;
+ voice->Direct.Hrtf[i].State.History[j] = 0.0f;
for(j = 0;j < HRIR_LENGTH;j++)
{
- voice->Direct.Hrtf.State[i].Values[j][0] = 0.0f;
- voice->Direct.Hrtf.State[i].Values[j][1] = 0.0f;
+ voice->Direct.Hrtf[i].State.Values[j][0] = 0.0f;
+ voice->Direct.Hrtf[i].State.Values[j][1] = 0.0f;
}
}
for(i = 0;i < (ALsizei)device->NumAuxSends;i++)