Menu

#3 Settings loading doesn't work properly

v1.0 (example)
open
nobody
None
5
2013-11-29
2013-11-29
No

Steps to reproduce this bug:

  1. Change FFT Size to other than default value (for example to 64).
  2. Set some parameters.
  3. Save settings.
  4. Load settings. Values will not restored correctly.

This bug is caused by incorrect order of parameters loading in FTconfigManager::loadSettings(). First this function loads filter data, then sets global FFT size. When new FFT size is set, values resampling is performed and loaded data is corrupted. The program should first set global FFT size (and bins count).

Discussion


Log in to post a comment.