aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alAuxEffectSlot.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-08-16 14:53:21 -0700
committerChris Robinson <[email protected]>2010-08-16 14:53:21 -0700
commite5cae875020ceced4a62557c230bb58a67fbe036 (patch)
treebde1be117497e1123db891278c36a3309a21df1d /OpenAL32/alAuxEffectSlot.c
parentba0ec1b4bac81fc636efb2881261dcf6516f85ba (diff)
Handle clicks by watching changes between updates
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.c')
-rw-r--r--OpenAL32/alAuxEffectSlot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c
index a7ea0e32..d8ccaf71 100644
--- a/OpenAL32/alAuxEffectSlot.c
+++ b/OpenAL32/alAuxEffectSlot.c
@@ -89,7 +89,10 @@ AL_API ALvoid AL_APIENTRY alGenAuxiliaryEffectSlots(ALsizei n, ALuint *effectslo
for(j = 0;j < BUFFERSIZE;j++)
slot->WetBuffer[j] = 0.0f;
for(j = 0;j < 1;j++)
+ {
slot->ClickRemoval[j] = 0.0f;
+ slot->PendingClicks[j] = 0.0f;
+ }
slot->refcount = 0;
}
}