Commit d27a7334 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[cleanup] accept FIX_983_DISC_ISM_DIGEST_NUM_OBJS

parent c0f2ff2e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -111,7 +111,6 @@

#define NONBE_FIX_951_MCMASA_5MS_RENDERING              /* Nokia: issue #951: Differences for 5ms and 20ms rendering for McMASA at 13.2 kbps to BINAURAL */
#define NONBE_FIX_979_OSBA_STEREO_5MS                   /* FhG : issue #979 : 5ms and 20ms output different for OSBA and stereo */
#define FIX_983_DISC_ISM_DIGEST_NUM_OBJS                /* FhG: issue #983: the discrete ISM digest function uses the wrong number of objects */

#define NONBE_FIX_974_OSBA_JBM_MONO_RS_USAN             /* FhG : issue #974: usan in mono and stereo output in OSBA JBM RS */
#define FIX_944_REMOVE_LS_RENDERER_CALL_IN_STEREO       /* VA: issue 994: remove an obsolete call of function ivas_ls_setup_conversion() in stereo */
+0 −10
Original line number Diff line number Diff line
@@ -939,11 +939,7 @@ void ivas_ism_dec_digest_tc_fx(
        EQ_32( st_ivas->renderer_type, RENDERER_OSBA_STEREO ) ||
        ( EQ_32( st_ivas->renderer_type, RENDERER_BINAURAL_MIXER_CONV_ROOM ) && st_ivas->hDecoderConfig->Opt_Headrotation == 0 ) )
    {
#ifdef FIX_983_DISC_ISM_DIGEST_NUM_OBJS
        int16_t i;
#else
        int16_t i, num_objects;
#endif
        Word32 azimuth_fx, elevation_fx;

        /* we have a full frame interpolator, adapt it */
@@ -985,13 +981,7 @@ void ivas_ism_dec_digest_tc_fx(
        }

        /* also get the gains here */
#ifdef FIX_983_DISC_ISM_DIGEST_NUM_OBJS
        FOR( i = 0; i < st_ivas->nchan_ism; i++ )
#else
        num_objects = st_ivas->nchan_transport;
        move16();
        FOR( i = 0; i < num_objects; i++ )
#endif
        {
            Copy32( st_ivas->hIsmRendererData->gains_fx[i], st_ivas->hIsmRendererData->prev_gains_fx[i], MAX_OUTPUT_CHANNELS );