diff --git a/lib_dec/igf_dec_fx.c b/lib_dec/igf_dec_fx.c index f44e073a4e983bc11f5bf4851fc4644d074e1a0b..74299beaecd853b52b2914cd436705bac51f95b5 100644 --- a/lib_dec/igf_dec_fx.c +++ b/lib_dec/igf_dec_fx.c @@ -4253,10 +4253,10 @@ void IGFDecCopyLPCFlatSpectrum_fx( /* pSpectrumFlat_exp has to be multiplied with 1024 = 2^10 go achive proper gain values */ - hPrivateData->pSpecFlat_exp = add( pSpectrumFlat_exp, 10 ); + hPrivateData->pSpecFlat_exp = 30; move16(); - Copy32( pSpectrumFlat, hPrivateData->pSpecFlat, hGrid->startLine ); + Copy_Scale_sig32( pSpectrumFlat, hPrivateData->pSpecFlat, hGrid->startLine, sub( pSpectrumFlat_exp, 20 ) ); } }