[non-BE] Resolve "stereo DTX bitrate switching crash"
- Related issues: #1110 (closed)
- Requested reviewers: @janssontoftg
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