Commit 0637ee0c authored by Sumeyra Demir Kanik's avatar Sumeyra Demir Kanik
Browse files

Placed a todo for the ISM Metadata delay in the case of no delay compensation...

Placed a todo for the ISM Metadata delay in the case of no delay compensation for ISM2Stereo Rendering
parent 7a8335cc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -162,6 +162,8 @@

#define FIX_488_SYNC_DELAY                             /* Eri: Issue 488: Waveform and MD desynchronized in external renderer */

#define FIX_495_ISM_STEREO_MD_SYNC                     /* Eri: Issue 488: Waveform and MD desynchronized in ISM to Stereo rendering */

#define FIX_550_FIRST_FRAME_ACCESS                      /* Eri: Issue 550: TD Object renderer: first frame accesses wrong transport channel offsets */
#define FIX_550_FIRST_FRAME_ACCESS_ALT                  /* Eri: Issue 550: Should be merged with FIX_550_FIRST_FRAME_ACCESS above, or accepted at the same time */
#define FIX_569_TD_FILTER_LENGTH                        /* Eri: Issue 569: If an HRTF binary file exceeds the SFX_SPAT_BIN_MAX_FILTER_LENGTH the decoder crashes. This truncates the filter when generated from the model.  */
+3 −0
Original line number Diff line number Diff line
@@ -184,6 +184,9 @@ void ivas_ism_render(
            {
                for ( k = 0; k < output_frame; k++ )
                {
#ifdef FIX_495_ISM_STEREO_MD_SYNC
/* ToDo: A delay for the ISM metadata to be introduced in the case of disabled delay compensation from st_ivas->hDecoderConfig->Opt_delay_comp */
#endif
                    g1 = st_ivas->hIsmRendererData->interpolator[k];
                    g2 = 1.0f - g1;
                    tmp_output_f[j][k] += ( g1 * gains[i][j] + g2 * st_ivas->hIsmRendererData->prev_gains[i][j] ) * input_f[i][k];