Skip to content

Fix for crash for stereo ltv stream occuring in stereo_dft_generate_comfort_noise_fx

[x] The crash occurs due to overflow when accumulating and storing cngNoiseLevel values in lp_noise in stereo_dft_generate_comfort_noise_fx. Adjusted the q-factor of lp_noise which was not handled properly to fix the issue.

EVS 26.444 BE test passes.
pytests results: 595 failed, 381 skipped

MLD scores:
Original inputs:
MLD > 10: 53
MLD > 5 : 123
MLD < 5 : 419

+10dB inputs:
MLD > 10: 183
MLD > 5 : 194
MLD < 5 : 218

-10dB inputs:
MLD > 10: 17
MLD > 5 : 55
MLD < 5 : 523

Merge request reports

Loading