Commit 74dbc012 authored by Rivukanta Bhattacharya's avatar Rivukanta Bhattacharya
Browse files

Added condition for not allocating when output config is MONO or STEREO and...

Added condition for not allocating when output config is MONO or STEREO and for the case when bitrate is not less than 256kbps and output config is FOA.
parent 7d9f5871
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -556,7 +556,7 @@ void ivas_td_decorr_bitrate_check(
    Decoder_Struct *st_ivas         /* i/o  : IVAS decoder structure                  */
)
{
    if ( ivas_total_brate == IVAS_512k && output_config == AUDIO_CONFIG_FOA )
    if ( ( output_config == AUDIO_CONFIG_MONO || output_config == AUDIO_CONFIG_STEREO ) || ( ivas_total_brate >= IVAS_256k && output_config == AUDIO_CONFIG_FOA ) )
    {
        st_ivas->td_decorr_flag = 1;
    }