Commit f642891d authored by vaclav's avatar vaclav
Browse files

reintroduce code lost during merging

parent d3cc9b5d
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -64,6 +64,12 @@ void ivas_sba_set_cna_cng_flag(
#else
    if ( st_ivas->sba_mode == SBA_MODE_SPAR && st_ivas->nchan_transport == 1 )
#endif
    {
        /* skip as done in init function */
        /* st_ivas->hSCE[0]->hCoreCoder[0]->cna_dirac_flag = 0; */
        /* st_ivas->hSCE[0]->hCoreCoder[0]->cng_sba_flag = 0; */
    }
    else if ( st_ivas->nchan_transport == 1 && ( ( st_ivas->renderer_type == RENDERER_DIRAC && st_ivas->hDirAC->synthesisConf == DIRAC_SYNTHESIS_GAIN_SHD ) || ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC || st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC_ROOM || st_ivas->renderer_type == RENDERER_STEREO_PARAMETRIC ) ) )
    {
        st_ivas->hSCE[0]->hCoreCoder[0]->cna_dirac_flag = 1;
        st_ivas->hSCE[0]->hCoreCoder[0]->cng_sba_flag = 1;