aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-03-23 07:31:33 -0700
committerChris Robinson <[email protected]>2014-03-23 07:31:33 -0700
commit55f851093f08bc1274a4b49c85a0651a9f6e9c0f (patch)
tree12463e35113b48726a202a8146fab578307cfed3 /Alc/ALc.c
parent92433532fef79583f04141db235799a143c5801b (diff)
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.
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c7
1 files changed, 0 insertions, 7 deletions
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;