From 66f964078788fdfd5dfb32750bf8ab1e9075140f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 2 May 2017 07:34:28 -0700 Subject: Remove a duplicate check --- Alc/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/mixer.c') diff --git a/Alc/mixer.c b/Alc/mixer.c index b632d6ca..a7adf9b6 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -509,7 +509,7 @@ ALboolean MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALsizei parms->Hrtf.Old = parms->Hrtf.Target; parms->Hrtf.Old.Gain = 0.0f; } - else if(firstpass && parms->Hrtf.Old.Gain > GAIN_SILENCE_THRESHOLD) + else if(firstpass) { HrtfState backupstate = parms->Hrtf.State; ALfloat gain; -- cgit v1.2.3