diff options
author | Chris Robinson <[email protected]> | 2017-05-02 07:34:28 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-05-02 07:34:28 -0700 |
commit | 66f964078788fdfd5dfb32750bf8ab1e9075140f (patch) | |
tree | 265d2be00af6ea2878c9fb301dfd2eebd0307edc /Alc | |
parent | 53c3d48fe0714f3b7a6cf4d12b28ed611277224d (diff) |
Remove a duplicate check
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |