*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 */
}
/* Secondary channel bitrate adjusment */
/* First, adjust the bitrate depending of what is transmitted */
/* Second, choose the number of subframe for ACELP core depending of the targetted bitratre */
/* Finally, verify that the concordance between the number of subframe, the parameters sent and the bitrate available */