Commit b56da927 authored by Jouni Paulus's avatar Jouni Paulus
Browse files

adjust McMASA fix for BIN outputs

parent 6d8749c5
Loading
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1372,13 +1372,12 @@ ivas_error ivas_jbm_dec_render(
        else if ( st_ivas->mc_mode == MC_MODE_MCMASA )
        {
            int16_t offset = hSpatParamRendCom->slots_rendered * hSpatParamRendCom->slot_size;
#ifdef NONBE_FIX_951_MCMASA_5MS_RENDERING
            nchan_remapped = st_ivas->hTcBuffer->nchan_buffer_full;
#else
            nchan_remapped = st_ivas->nchan_transport;
#endif
            if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC || st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC_ROOM || st_ivas->renderer_type == RENDERER_STEREO_PARAMETRIC )
            {
#ifdef NONBE_FIX_951_MCMASA_5MS_RENDERING
                nchan_remapped = st_ivas->hTcBuffer->nchan_buffer_full;
#endif
                ivas_dirac_dec_binaural_render( st_ivas, nSamplesAskedLocal, nSamplesRendered, nSamplesAvailableNext, nchan_remapped, p_output );
            }
            else if ( st_ivas->renderer_type == RENDERER_DIRAC || st_ivas->renderer_type == RENDERER_SBA_LINEAR_ENC ) /* rendering to CICPxx and Ambisonics */