aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 72106824..7e94895b 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -901,6 +901,9 @@ static ALCboolean UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
device->SamplesPlayed += oldRate-1;
device->SamplesPlayed /= oldRate;
+ for(i = 0;i < OUTPUTCHANNELS;i++)
+ device->ClickRemoval[i] = 0.0f;
+
for(i = 0;i < device->NumContexts;i++)
{
ALCcontext *context = device->Contexts[i];