Commit f196a846 authored by Markus's avatar Markus
Browse files

Fix for issue#1212

parent 9af190bf
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -184,11 +184,14 @@

#define NONBE_FIX_1176_OSBA_REVERB_JBM_ASAN_ERROR       /* Ericsson: Issue 1176, fix in TDREND_firfilt for subframes shorter than the filter length */
#define NONBE_FIX_1197_OMASA_META_BUFFER                /* Nokia: OMASA ISM_MASA_MODE_PARAM_ONE_OBJ history zero in rateswitching */
#define NONBE_FIX_1212_TONAL_MDCT_CONCEALMENT           /* FhG: Fix issue 1212, zero IGF spec also in 1st concealed frame */


#define FIX_1139_REV_COLORATION_SHORT_T60               /* Nokia,FhG: Fix issue 1139, prevent sound coloration artefacts at very low reverberation times */
#define NONBE_FIX_1208_DFT_STEREO_PLC_BURST             /* Ericsson: Issue 1208, fix for overflow of sample offset counter for burst error in DFT Stereo PLC. */
#define FIX_1206_ZERO_OUT_IMDCT_BUFFERS_FOR_MCT_IGNORE  /* FhG: zero out all relevant imdct buffers in MCT decoding of channels with mct_chan_mode == MCT_CHAN_MODE_IGNORE */


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

/* ################## End DEVELOPMENT switches ######################### */
+4 −0
Original line number Diff line number Diff line
@@ -545,7 +545,11 @@ void TonalMDCTConceal_InsertNoise(

                for ( l = crossOverFreq; l < hTonalMDCTConc->lastBlockData.nSamples; l++ )
                {
#ifdef NONBE_FIX_1212_TONAL_MDCT_CONCEALMENT
                    mdctSpectrum[l] = 0.0f;
#else
                    mdctSpectrum[l] = hTonalMDCTConc->lastBlockData.spectralData[l];
#endif
                }
            }
            /* actual fadeout is done in this case */