aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALu.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index bf3d8174..fd8065ed 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1139,20 +1139,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
/* Click-removal. Could do better; this only really handles immediate
* changes between updates where a predictive sample could be
* generated. Delays caused by effects and HRTF aren't caught. */
- if(device->FmtChans == DevFmtMono)
- {
- ALfloat offset = device->ClickRemoval[FrontCenter];
- if(offset < (1.0f/32768.0f))
- offset = 0.0f;
- else for(i = 0;i < SamplesToDo;i++)
- {
- device->DryBuffer[FrontCenter][i] += offset;
- offset -= offset * (1.0f/256.0f);
- }
- device->ClickRemoval[FrontCenter] = offset + device->PendingClicks[FrontCenter];
- device->PendingClicks[FrontCenter] = 0.0f;
- }
- else if(device->FmtChans == DevFmtStereo)
+ if(device->FmtChans == DevFmtStereo)
{
/* Assumes the first two channels are FrontLeft and FrontRight */
for(c = 0;c < 2;c++)