Commit 2367d7ef authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[cleanup] accept FIX_983_DISC_ISM_DIGEST_NUM_OBJS

parent 6c31c0c0
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -209,7 +209,6 @@
#define NONBE_FIX_951_MCMASA_5MS_RENDERING                    /* Nokia: issue #951: Differences for 5ms and 20ms rendering for McMASA at 13.2kbps 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 FIX_966_VAR_OVERFLOW_IN_HARM_MODEL_ARI          /* FhG: fix and undef behaviour bug in the harmonic TCX model arithmetic coder */
#define NONBE_FIX_974_OSBA_JBM_MONO_RS_USAN             /* FhG : issue #974: usan in mono and stereo output in OSBA JBM RS */
#define NONBE_FIX_982_OMASA_DELAY_COMP_5MS              /* FhG : issue #982 : 5ms and 20ms output different for OMASA */
+0 −9
Original line number Diff line number Diff line
@@ -996,11 +996,7 @@ void ivas_ism_dec_digest_tc(
         st_ivas->renderer_type == RENDERER_OSBA_STEREO ||
         ( 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
        int16_t azimuth, elevation;

        /* we have a full frame interpolator, adapt it */
@@ -1033,12 +1029,7 @@ void ivas_ism_dec_digest_tc(
        }

        /* 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;
        for ( i = 0; i < num_objects; i++ )
#endif
        {
            mvr2r( st_ivas->hIsmRendererData->gains[i], st_ivas->hIsmRendererData->prev_gains[i], MAX_OUTPUT_CHANNELS );