Commit 4087bb7d authored by vaclav's avatar vaclav
Browse files

FIX_2432_ISM_SPIKES_16KHZ

parent efe53129
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -168,6 +168,8 @@
/* #################### Start NON-BE switches ############################ */
/* any switch which is non-be wrt. TS 26.258 V3.0 */

#define FIX_2432_ISM_SPIKES_16KHZ                       /* VA: basop issue 2432: fix spikes in ISM decoding at 16kHz output sampling rate */

/* ##################### End NON-BE switches ########################### */

/* ################## End MAINTENANCE switches ######################### */
+4 −0
Original line number Diff line number Diff line
@@ -532,7 +532,11 @@ ivas_error ivas_core_dec(
            swb_bwe_dec( st, output[n], synth[n], hb_synth[n], use_cldfb_for_dft, output_frame );
        }

#ifdef FIX_2432_ISM_SPIKES_16KHZ
        if ( ( st->core == ACELP_CORE && ( st->extl == -1 || st->extl == SWB_CNG || ( st->extl == WB_BWE && st->bws_cnt > 0 ) ) ) && flag_bwe_bws == 0 )
#else
        if ( ( st->core == ACELP_CORE && ( st->extl == -1 || st->extl == SWB_CNG ) ) && flag_bwe_bws == 0 )
#endif
        {
            set_f( hb_synth[n], 0.0f, L_FRAME48k );
        }