Commit 58264829 authored by vaclav's avatar vaclav
Browse files

fix

parent 5e2edf84
Loading
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -1711,8 +1711,16 @@ Word16 ApplyFdCng_ivas_fx(
                    /* Interpolate the CLDFB band levels from the SID (partition) levels */
                    IF( GT_16( hFdCngCom->regularStopBand, hFdCngCom->numCoreBands ) )
                    {
                        scalebands_fx( sidNoiseEst, hFdCngCom->part, hFdCngCom->npart, hFdCngCom->midband,
                                       hFdCngCom->nFFTpart, sub( hFdCngCom->stopBand, hFdCngCom->startBand ), cngNoiseLevel, 0 );
#ifdef REMOVE_EVS_DUPLICATES2
                        IF( EQ_16( st->element_mode, EVS_MONO ) )
                        {
                            scalebands( sidNoiseEst, hFdCngCom->part, hFdCngCom->npart, hFdCngCom->midband, hFdCngCom->nFFTpart, sub( hFdCngCom->stopBand, hFdCngCom->startBand ), cngNoiseLevel, 0 );
                        }
                        ELSE
#endif
                        {
                            scalebands_fx( sidNoiseEst, hFdCngCom->part, hFdCngCom->npart, hFdCngCom->midband, hFdCngCom->nFFTpart, sub( hFdCngCom->stopBand, hFdCngCom->startBand ), cngNoiseLevel, 0 );
                        }

                        *cngNoiseLevel_exp = hFdCngCom->sidNoiseEstExp;
                        move16();