Commit a55fcaac authored by bayers's avatar bayers
Browse files

amend fix for #808, set TC buffer mode correctly when switching to ParamUpmix,...

amend fix for #808, set TC buffer mode correctly when switching to ParamUpmix, under the same define as the first fix (NONBE_FIX_808_JBM_PARAMUPMIX_RS)
parent 8e40fa16
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1350,6 +1350,7 @@ static ivas_error ivas_mc_dec_reconfig(
        else if ( st_ivas->mc_mode == MC_MODE_PARAMUPMIX )
        {
            tc_nchan_allocate_new = MC_PARAMUPMIX_MAX_INPUT_CHANS;
            tc_buffer_mode_new = TC_BUFFER_MODE_RENDERER;
            if ( st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_STEREO || st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_MONO )
            {
                tc_buffer_mode_new = TC_BUFFER_MODE_BUFFER;