diff options
author | Chris Robinson <[email protected]> | 2014-03-23 07:31:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-03-23 07:31:33 -0700 |
commit | 55f851093f08bc1274a4b49c85a0651a9f6e9c0f (patch) | |
tree | 12463e35113b48726a202a8146fab578307cfed3 /Alc/ALc.c | |
parent | 92433532fef79583f04141db235799a143c5801b (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.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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; |