Commit fff8caf4 authored by Devansh Kandpal's avatar Devansh Kandpal
Browse files

Merge branch 'float-pc' of https://forge.3gpp.org/rep/sa4/audio/ivas-basop...

Merge branch 'float-pc' of https://forge.3gpp.org/rep/sa4/audio/ivas-basop into 1582_ref_port_fl1280
parents 10312462 4809dfb1
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -220,6 +220,7 @@
#define FIX_1003_PARAMISM_BINAURAL_RECONFIG_USAN        /* FhG: fix for #1003: fix USAN caused by ParamISM reconfig                    */
#define FIX_1001_ARI_HM_OVERFLOW                        /* FhG: fix for undef behaviour in in the harmonic TCX model arithmetic coder */
#define NONBE_FIX_1005_MC_RS_TCBUFFER_UPDATE            /* FhG: issue #1005: fix TC Buffer update at a MC rate switch */
#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 */

/* #################### End BASOP porting switches ############################ */

+7 −0
Original line number Diff line number Diff line
@@ -142,6 +142,13 @@ 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 )
    {
        if ( !( ivas_format == MC_FORMAT && st_ivas->mc_mode == MC_MODE_MCMASA ) )