Commit 95dcc5fd authored by vaclav's avatar vaclav
Browse files

FIX_1563_FIX_STEREO_SW to encoder

parent f63c5398
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -821,6 +821,12 @@ void stereo_switching_enc(
            sts[1]->last_coder_type = sts[0]->last_coder_type;
            sts[1]->last_bwidth = sts[0]->last_bwidth;
        }
#ifdef FIX_1563_FIX_STEREO_SW
        else if ( hCPE->element_mode == IVAS_CPE_TD )
        {
            sts[1]->last_core = ACELP_CORE;
        }
#endif
    }
    else if ( hCPE->element_mode == IVAS_CPE_TD && hCPE->last_element_mode == IVAS_CPE_MDCT )
    {