mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-11 18:57:05 +01:00
plotview: Setup default fftSize/zoomLevel to prevent divide-by-zero during load
This commit is contained in:
@@ -65,8 +65,8 @@ private:
|
||||
range_t<off_t> selectedSamples;
|
||||
std::pair<float, float> selectionFreq;
|
||||
|
||||
int fftSize;
|
||||
int zoomLevel;
|
||||
int fftSize = 1024;
|
||||
int zoomLevel = 0;
|
||||
int powerMin;
|
||||
int powerMax;
|
||||
bool cursorsEnabled;
|
||||
|
||||
Reference in New Issue
Block a user