diff options
author | Chris Robinson <[email protected]> | 2010-08-15 14:52:12 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-08-15 14:52:12 -0700 |
commit | 00525274a0d32b5958e82ac309ece9d9132332f1 (patch) | |
tree | 9326a7caba577223e47d88a37f7252f04140e694 /OpenAL32 | |
parent | 2915d9dbd9c4a0575a94eb1f65a1fc47c866209c (diff) |
Add click removal for wet sends
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 2 | ||||
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index 9a916dd8..eb7351b2 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -22,6 +22,8 @@ typedef struct ALeffectslot ALfloat WetBuffer[BUFFERSIZE]; + ALfloat ClickRemoval[1]; + ALuint refcount; // Index to itself diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index e8a76d35..a7ea0e32 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -88,6 +88,8 @@ AL_API ALvoid AL_APIENTRY alGenAuxiliaryEffectSlots(ALsizei n, ALuint *effectslo slot->AuxSendAuto = AL_TRUE; for(j = 0;j < BUFFERSIZE;j++) slot->WetBuffer[j] = 0.0f; + for(j = 0;j < 1;j++) + slot->ClickRemoval[j] = 0.0f; slot->refcount = 0; } } |