Commit 49fca380 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_2315_AGC_MEMORY_RESET

parent 5d7f6b54
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -108,7 +108,6 @@
/* any switch which is non-be wrt. TS 26.251 V3.0 */

#define FIX_2250_LARGE_DIFFERENCES_BETWEEN_BASOP_AND_FLOAT  /* Dolby: Issue 2250:  random vector generation in GenShapedSHBExcitation() */
#define FIX_2315_AGC_MEMORY_RESET                       /* VA: basop issue 2315: fix reset of the AGC memory */
#define FIX_2312_CONDITION_MISSING_GSC_DEC_LR           /* VA: basop issue 2297: addition of condition missing in the GSC gain decoder at low-rate */
#define FIX_2313_HF_RESET_16KHZ                         /* VA: basop issue 2313: Call hf_synth_reset_fx() also for 16 kHz output_Fs */
#define OPT_2308_FIND_TARGET                            /* VA: Issue 2308, Speeds up computation and improve accuracy of the impulse response */
+0 −5
Original line number Diff line number Diff line
@@ -1539,14 +1539,9 @@ ivas_error core_switching_pre_dec_fx(
            /* Last frame was Stereo CNG and the synthesis memory is outdated -- reset */
            set16_fx( hTcxDec->old_syn_Overl, 0, L_FRAME32k / 2 );
            set16_fx( st->hFdCngDec->hFdCngCom->olapBufferAna_fx, 0, FFTLEN );
#ifndef FIX_2315_AGC_MEMORY_RESET
            set16_fx( st->agc_mem_fx, 0, 2 );
#endif
        }

#ifdef FIX_2315_AGC_MEMORY_RESET
        set16_fx( st->agc_mem_fx, 0, 2 );
#endif
        st->mem_deemph_fx = 0;
        move16();
        IF( !st->last_con_tcx )