From a55fcaacae88b0b84e087cc40679cf0808c5bc28 Mon Sep 17 00:00:00 2001 From: Stefan Bayer Date: Mon, 2 Oct 2023 10:22:38 +0200 Subject: [PATCH] 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) --- lib_dec/ivas_mct_dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib_dec/ivas_mct_dec.c b/lib_dec/ivas_mct_dec.c index 1fb4db5eb8..8e55bee25c 100755 --- a/lib_dec/ivas_mct_dec.c +++ b/lib_dec/ivas_mct_dec.c @@ -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; -- GitLab