[non-BE] MASA TD secondary channel bitrate in inactive mode
-
Related to #751 (closed): it adds a bitrate verification for the secondary channel in TD mode when in inactive mode (similar to the verification in generic mode)
-
Requested reviewers: Tommy Vaillancourt
Reason why this change is needed
- When running 2 TC MASA at 32k, the secondary channel gets 2400 bits putting it in SID mode without actually being in SID.
Description of the change
- The verification that the TD stereo secondary channel bitrate is not a reserved value (e.g. SID) was taken out of generic coder mode only and moved outside the loop to be made for all other potential modes. The number of bits for the secondary channel is decreased by 100 bits.
Affected operating points
- It potentially affects all modes where stereo is used.
- It is related however to a particular case when the secondary channel gets reserved values bitrate which happens very rarely.
- The update is potentially both non BE and non BC as the encoded bitstream changes as well as the decoded output.
end
Edited by vasilache