Commit af626296 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_BASOP_2612_RESET_DECIM_MEM

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

#define FIX_1576_LCLD_CRASH_DIFFERENT_CODEC_ISAR_FRAME_SIZE  /* Dolby: float issue 1576: fix for crash in LCLD mode when codec frame size is less than isar frame size */
#define FIX_BASOP_2612_RESET_DECIM_MEM                  /* FhG: BASOP #2612: reset (zero) the 16k resampler memory of the secondary channel on DFT->TD stereo switch (otherwise -> fx overshoot) */
#define FIX_BASOP_2621_STEREO_CNG_NOISY_SPEECH_QSHIFT   /* FhG: BASOP #2621: stereo_dft_generate_comfort_noise_fx flag_noisy_speech: compare (lp_speech-lp_noise) Q23 diff against 28.0 in Q23 (was vs integer 28 with q_lp_noise=0) */
#define FIX_ISSUE_2618_PLC_RES_ATT_SCALING              /* FhG: BASOP #2618: residual PLC burst attenuation, apply divide/Sqrt32 exponent so fac tracks exponent correctly */
#define NONBE_FIX2614_LP_CNG_ASSERT                     /* FhG: */
+0 −2
Original line number Diff line number Diff line
@@ -853,9 +853,7 @@ void stereo_switching_enc_fx(

        /* no secondary channel in the previous frame -> memory resets */
        set16_fx( sts[1]->old_inp_12k8_fx, 0, L_INP_MEM );
#ifdef FIX_BASOP_2612_RESET_DECIM_MEM
        set16_fx( sts[1]->mem_decim16k_fx, 0, 2 * L_FILT_MAX );
#endif
        set16_fx( sts[1]->mem_decim_fx, 0, 2 * L_FILT_MAX );
        sts[1]->q_mem_decim_fx = Q15;
        move16();