Skip to content

[Non-BE] Resolve "JBM MC bitrate switching broken"

Reason why this change is needed

When switching from another MC mode to ParamUpmix in VoIP/Variable Speed Decoding, the ParamUpmix interpolator is not initialized and the TC handle buffer is not reconfigured properly.

Description of the change

Init the ParamUpmix interpolator always when opening the ParamUpmix handle in VoIP mode instead of only when there is no TC Buffer allocated. Fix TC Buffer reconfiguration for VoIP MC rate switching .

Affected operating points

  • MC rate switching and VoIP
  • Produced bitstream is BE compared to previous state (no encoder changes)
  • Non-BE since it fixes possible crashes

Related to #808 (closed)

Merge request reports

Loading