Commit 941443a0 authored by sagnowski's avatar sagnowski
Browse files

Improve comments about differences between BASOP and float versions

parent ed749e0b
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2465,7 +2465,9 @@ ivas_error ivas_jbm_dec_render_fx(

        nchan_out_syn_output = i_mult( BINAURAL_CHANNELS, st_ivas->hSplitBinRend->splitrend.multiBinPoseData.num_poses );

        /* Save TD signals for pose correction if they are to be used */
        /* Save TD signals for pose correction if they are to be used.
         *
         * NOTE: Here BASOP differs from the float version. In float, we push samples to TD ring buffer in lib_dec.c function isar_render_poses. */
        IF( st_ivas->hSplitBinRend->hMultiBinTdData != NULL )
        {
            FOR( i = 0; i < nchan_out_syn_output; i++ )
+2 −2
Original line number Diff line number Diff line
@@ -1254,8 +1254,8 @@ static ivas_error isar_render_poses(
        return IVAS_ERR_OK;
    }

    // NOTE: Here BASOP differs from float version. In float, we push samples to TD ring buffer here. In BASOP, TD signals are only available in 16 bit here.
    // To save TD signals in 32-bit precision, samples are pushed via ivas_TD_RINGBUF_PushChannels in ivas_jbm_dec_render_fx within IVAS_DEC_GetSamplesRenderer.
    /* NOTE: Here BASOP differs from the float version. In float, we push samples to TD ring buffer here. In BASOP, TD signals are only available in 16 bit here.
     * To save TD signals in 32-bit precision, samples are pushed via ivas_TD_RINGBUF_PushChannels in ivas_jbm_dec_render_fx within IVAS_DEC_GetSamplesRenderer. */

    return error;
}