Unverified Commit 93e9b080 authored by norvell's avatar norvell
Browse files

Temporary fix FIX_TMP_1559 to indicate problem

parent a09f52b8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -178,6 +178,7 @@
#define FIX_FLOAT_1573_POSITION_UPDATE                  /* Eri: Float issue 1573: For static orientation and listener movement, the PoseUpdated flag is cleared and prevents 5 ms update rate. */
#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_1452_DEFAULT_REVERB                         /* Nokia/Philips/FhG: Fix default room presets and their usage in renderer */
#define FIX_TMP_1559                                    /* Eri/FhG: Temporary fix for Issue 1559 in FD CNG with bitrate/bw switching */

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

+7 −0
Original line number Diff line number Diff line
@@ -315,6 +315,13 @@ void configureFdCngDec(
        hsCom->CLDFBpsize_inv[j] = hsCom->psize_inv[j + hsCom->nFFTpart];
    }

#ifdef FIX_TMP_1559
    if ( last_L_frame == L_FRAME && L_frame == L_FRAME16k && hFdCngDec->partNoiseShape[20] == 0 )
    {
        hFdCngDec->partNoiseShape[20] = hFdCngDec->partNoiseShape[19];
    }
#endif

    stopBandFR = (int16_t) floor( 1000.f /*Hz*/ / 25.f /*Hz/Bin*/ );
    if ( stopBandFR > hsCom->stopFFTbin )
    {