*total_brate_sec=max(*total_brate_sec,tdm_bit_allc_tbl[0][0]);/* sanity check to ensure the secondary channel always gets the minimal bitrate it needs */
@@ -316,7 +316,19 @@ void tdm_bit_alloc(
{
*total_brate_sec=max(*total_brate_sec,3500);/* sanity check to ensure the secondary channel always gets the minimal bitrate it needs */
}
#endif
}
#ifdef NONBE_FIX_874_OMASA_BRSW_2TD
if(coder_type==INACTIVE)
{
*total_brate_sec=max(*total_brate_sec,tdm_bit_allc_tbl[0][0]);/* sanity check to ensure the secondary channel always gets the minimal bitrate it needs */
}
else
{
*total_brate_sec=max(*total_brate_sec,3500);/* sanity check to ensure the secondary channel always gets the minimal bitrate it needs */
}
#endif
/* Secondary channel bitrate adjusment */
/* First, adjust the bitrate depending of what is transmitted */