diff options
author | Chris Robinson <[email protected]> | 2014-03-23 16:28:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-03-23 16:28:55 -0700 |
commit | 72986882f549275c6c946b325a9c75b1547f37f1 (patch) | |
tree | b8c7cf332193cf293f9f5c0e8a9c85c99d00d060 /OpenAL32 | |
parent | a25260ea8a63629b0daa03a7beb9b72b53588d2b (diff) |
Remove the click removal buffers for auxiliary effect slots
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 3 | ||||
-rw-r--r-- | OpenAL32/Include/alu.h | 5 | ||||
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 2 |
3 files changed, 1 insertions, 9 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index 81210776..264f8f73 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -74,9 +74,6 @@ typedef struct ALeffectslot { ALIGN(16) ALfloat WetBuffer[1][BUFFERSIZE]; - ALfloat ClickRemoval[1]; - ALfloat PendingClicks[1]; - RefCount ref; /* Self ID */ diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index cfc54acc..c2e725ff 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -82,8 +82,6 @@ typedef struct DirectParams { typedef struct SendParams { ALfloat (*OutBuffer)[BUFFERSIZE]; - ALfloat *ClickRemoval; - ALfloat *PendingClicks; /* Gain control, which applies to all input channels to a single (mono) * output buffer. */ @@ -108,8 +106,7 @@ typedef ALvoid (*DryMixerFunc)(struct DirectParams *params, ALuint OutPos, ALuint BufferSize); typedef ALvoid (*WetMixerFunc)(struct SendParams *params, const ALfloat *restrict data, - ALuint OutPos, ALuint SamplesToDo, - ALuint BufferSize); + ALuint OutPos, ALuint BufferSize); #define GAIN_SILENCE_THRESHOLD (0.00001f) diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index 9c8e31b1..42715c02 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -531,8 +531,6 @@ ALenum InitEffectSlot(ALeffectslot *slot) { for(i = 0;i < BUFFERSIZE;i++) slot->WetBuffer[c][i] = 0.0f; - slot->ClickRemoval[c] = 0.0f; - slot->PendingClicks[c] = 0.0f; } slot->ref = 0; |