Commit db85cca9 authored by multrus's avatar multrus
Browse files

[cleanup] accept NONBE_FIX_1004_USAN_DTX_MASA_NO_DIRS

parent 3866cdda
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -167,7 +167,6 @@
/* any switch which is non-be wrt selection floating point code */
/* all switches in this category should start with "NONBE_" */

#define NONBE_FIX_1004_USAN_DTX_MASA_NO_DIRS                  /* Nokia: fix USAN error caused by non-setting of correctly the number of MASA directions in DTX */
#define NONBE_FIX_1014_1015_1016_OSBA_JBM_STEREO              /* FhG: issues #1014, #1015, #1016: fix tc buffer info update in the discrete ism renderer */
#define NONBE_FIX_987_PARAMC_BINAURAL_REVERB_RENDERING       /* FhG: issue 987: solution b: downmix HOA3 to stereo a input for the reverberator */
#define NONBE_FIX_1006_PAST_DMX_NRG_ERROR                     /* Eri/FhG: Issue 1006: Bug fix in ivas_stereo_dft_dec not replicated in ivas_stereo_dft_dec_dmx */
+0 −2
Original line number Diff line number Diff line
@@ -142,12 +142,10 @@ ivas_error ivas_masa_decode(
        st->next_bit_pos = (int16_t) ( ( masa_brate / FRAMES_PER_SEC ) - 1 );
    }

#ifdef NONBE_FIX_1004_USAN_DTX_MASA_NO_DIRS
    if ( ivas_format == MASA_FORMAT && ( masa_brate == IVAS_SID_5k2 || ivas_total_brate == FRAME_NO_DATA ) )
    {
        hMasa->config.numberOfDirections = 1;
    }
#endif

    if ( !st->bfi && ivas_total_brate > IVAS_SID_5k2 )
    {