Commit 14445e44 authored by TYAGIRIS's avatar TYAGIRIS
Browse files

float ref porting: Issue 949: fix for 5ms framing/rendering in MC mode

parent 01098e87
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@
#endif
#define NONBE_FIX_1058_DECODER_ERROR_WITH_REVERB_ROOM   /* FhG: issue 1058: do not initialize EFAP when IntSetup is HOA3 */
#define NONBE_FIX_944_FEC_OMASA_1SEP_OBJ_MASA                 /* Nokia: issue 944: fix FEC error in OMASA */

#define NONBE_FIX_949_MC_5MS_FRAMING                    /*Dlb: Issue 949: fix for 5ms framing/rendering in MC mode */
/* #################### End BASOP porting switches ############################ */

/* clang-format on */
+7 −0
Original line number Diff line number Diff line
@@ -1260,6 +1260,13 @@ ivas_error ivas_jbm_dec_render(
    }
    else if ( st_ivas->ivas_format == MC_FORMAT )
    {

#ifdef NONBE_FIX_949_MC_5MS_FRAMING
        for ( n = 0; n < st_ivas->hTcBuffer->nchan_buffer_full; n++ )
        {
            p_tc[n] = &st_ivas->hTcBuffer->tc[n][st_ivas->hTcBuffer->n_samples_rendered];
        }
#endif
        if ( st_ivas->mc_mode == MC_MODE_MCT )
        {
            int16_t crendInPlaceRotation = FALSE;