From 55f851093f08bc1274a4b49c85a0651a9f6e9c0f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 23 Mar 2014 07:31:33 -0700 Subject: Remove the now-unneeded click removal buffers for the device They are still there for auxiliary sends. However, they should go away soon enough too, and then we won't have to mess around with calculating extra "predictive" samples in the mixer. --- Alc/ALc.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index 1b5f8109..bf296974 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1607,7 +1607,6 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) enum DevFmtType oldType; ALCuint oldFreq; FPUCtl oldMode; - ALuint i; // Check for attributes if(device->Type == Loopback) @@ -1844,12 +1843,6 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) aluInitPanning(device); - for(i = 0;i < MaxChannels;i++) - { - device->ClickRemoval[i] = 0.0f; - device->PendingClicks[i] = 0.0f; - } - V(device->Synth,update)(device); device->Hrtf = NULL; -- cgit v1.2.3