aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-06-17 16:22:39 -0700
committerChris Robinson <[email protected]>2011-06-17 16:22:39 -0700
commitedf78b077efa5a8d3f11ea2059095f33e9f971a8 (patch)
tree3ba00f2c84cfa650291f21865be9b4a18affee86 /OpenAL32/alSource.c
parent753e64c76cabf3ba22a4509f5ee2c7615de00b48 (diff)
Use separate lines for HRTF history and values
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 9486915e..c50e648c 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -1382,9 +1382,11 @@ AL_API ALvoid AL_APIENTRY alSourcePlayv(ALsizei n, const ALuint *sources)
{
ALuint k;
for(k = 0;k < SRC_HISTORY_LENGTH;k++)
+ Source->HrtfHistory[j][k] = 0.0f;
+ for(k = 0;k < HRIR_LENGTH;k++)
{
- Source->HrtfHistory[j][k][0] = 0.0f;
- Source->HrtfHistory[j][k][1] = 0.0f;
+ Source->HrtfValues[j][k][0] = 0.0f;
+ Source->HrtfValues[j][k][1] = 0.0f;
}
}
Source->HrtfOffset = 0;