fc19d9d11b
For both cases the cur_level calculations were "wrong". For one channel case, I assume that was only an oversight, as for two channels case cur_level "calculation", getting the level from downmixing to mono will result in an attenuated level than expected. One solution is to use the highest level of both channels to drive the gate.