Skip to content

[non-BE] Resolve "stereo DTX bitrate switching crash"

vaclav requested to merge 1110-stereo-dtx-bitrate-switching-crash into main

Reason why this change is needed

There is an encoder crash for the stereo DTX bitrate switching condition. The synthesis contains abrupt energy bursts in inactive segments.

Description of the change

The st->last_core_brate is correctly updated in the secondary channel of TD stereo mode when the codec is switching from MDCT stereo mode. The stereo CNA is reset when switching to TD/DFT stereo after MDCT stereo.

Affected operating points

Not-BE for stereo switching conditions involving MDCT stereo.

Edited by malenovsky

Merge request reports

Loading