implement the FFT deques also for math channels, add an "input overrun" indication

This commit is contained in:
2026-04-09 10:38:43 +02:00
parent 6846c853c0
commit 3f2546edd1
7 changed files with 67 additions and 12 deletions

View File

@@ -105,7 +105,7 @@ void SpectrumAnalyzer::processBlock() {
for (float& v : channelSpectra_[ch])
v += windowCorrection_;
channelWaterfalls_[ch].push_back(channelSpectra_[ch]);
if (channelWaterfalls_[ch].size() > kWaterfallHistory)
if (channelWaterfalls_[ch].size() > static_cast<size_t>(kWaterfallHistory))
channelWaterfalls_[ch].pop_front();
}
newSpectrumReady_ = true;