mirror of https://github.com/mstorsjo/fdk-aac.git
Reset all noisefloor levels in leanSbrConcealment()
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I6d25e8c8844bdf8e15d1aab695cb5d19d6b232e2
This commit is contained in:
parent
ecc96969d7
commit
5cb1030d72
|
@ -435,8 +435,8 @@ static void leanSbrConcealment(
|
||||||
/* Noisefloor levels are always cleared ... */
|
/* Noisefloor levels are always cleared ... */
|
||||||
|
|
||||||
h_sbr_data->domain_vec_noise[0] = 1;
|
h_sbr_data->domain_vec_noise[0] = 1;
|
||||||
for (i = 0; i < hHeaderData->freqBandData.nNfb; i++)
|
FDKmemclear(h_sbr_data->sbrNoiseFloorLevel,
|
||||||
h_sbr_data->sbrNoiseFloorLevel[i] = FL2FXCONST_SGL(0.0f);
|
sizeof(h_sbr_data->sbrNoiseFloorLevel));
|
||||||
|
|
||||||
/* ... and so are the sines */
|
/* ... and so are the sines */
|
||||||
FDKmemclear(h_sbr_data->addHarmonics,
|
FDKmemclear(h_sbr_data->addHarmonics,
|
||||||
|
|
Loading…
Reference in New Issue