diff options
author | Chris Robinson <[email protected]> | 2010-08-16 14:53:21 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-08-16 14:53:21 -0700 |
commit | e5cae875020ceced4a62557c230bb58a67fbe036 (patch) | |
tree | bde1be117497e1123db891278c36a3309a21df1d /OpenAL32/alAuxEffectSlot.c | |
parent | ba0ec1b4bac81fc636efb2881261dcf6516f85ba (diff) |
Handle clicks by watching changes between updates
Diffstat (limited to 'OpenAL32/alAuxEffectSlot.c')
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 3 |
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; } } |