From e5cae875020ceced4a62557c230bb58a67fbe036 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 16 Aug 2010 14:53:21 -0700 Subject: Handle clicks by watching changes between updates --- OpenAL32/alAuxEffectSlot.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenAL32/alAuxEffectSlot.c') 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; } } -- cgit v1.2.3