diff options
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r-- | OpenAL32/alSource.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 6c6bf44b..7dc4a2a9 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -1355,8 +1355,11 @@ AL_API ALvoid AL_APIENTRY alSourcePlayv(ALsizei n, const ALuint *sources) for(j = 0;j < MAXCHANNELS;j++) { ALuint k; - for(k = 0;k < HRTF_LENGTH;k++) - Source->HrtfHistory[j][k] = 0.0f; + for(k = 0;k < SRC_HISTORY_LENGTH;k++) + { + Source->HrtfHistory[j][k][0] = 0.0f; + Source->HrtfHistory[j][k][1] = 0.0f; + } } Source->HrtfOffset = 0; } |