Commit 284b11b3 authored by vaillancour's avatar vaillancour
Browse files

temporay addition, waiting for OMASA fix

parent 2523fe7b
Loading
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -879,6 +879,13 @@ void ivas_jbm_dec_feed_tc_to_renderer(
    }
    else if ( st_ivas->ivas_format == MASA_ISM_FORMAT )
    {
#ifdef FIX_1043_JBM_MD_BUFFER
        if ( st_ivas->hDecoderConfig->Opt_tsm )
        {
            ivas_jbm_masa_sf_to_slot_map( st_ivas, n_render_timeslots );
        }
#endif

        if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC && st_ivas->ism_mode == ISM_MASA_MODE_DISC )
        {
            n_render_timeslots *= ( st_ivas->hTcBuffer->n_samples_granularity / st_ivas->hSpatParamRendCom->slot_size );