Merge "Reset all noisefloor levels in leanSbrConcealment()"

am: c19c36cbfc

Change-Id: I8db91269800f92a2ca679cceb66cd52605b1a24e
This commit is contained in:
Jean-Michel Trivi 2018-12-28 15:11:18 -08:00 committed by android-build-merger
commit a129f9b266
1 changed files with 2 additions and 2 deletions

View File

@ -435,8 +435,8 @@ static void leanSbrConcealment(
/* Noisefloor levels are always cleared ... */
h_sbr_data->domain_vec_noise[0] = 1;
for (i = 0; i < hHeaderData->freqBandData.nNfb; i++)
h_sbr_data->sbrNoiseFloorLevel[i] = FL2FXCONST_SGL(0.0f);
FDKmemclear(h_sbr_data->sbrNoiseFloorLevel,
sizeof(h_sbr_data->sbrNoiseFloorLevel));
/* ... and so are the sines */
FDKmemclear(h_sbr_data->addHarmonics,