Isolate filtered spectrum collection from WFM

This commit is contained in:
Belousov Oleg
2026-07-27 21:45:10 +03:00
parent ec495b49f6
commit e5a3e8326f
9 changed files with 144 additions and 79 deletions
+2 -2
View File
@@ -57,12 +57,12 @@ void NarrowbandFMAudio::execute(const buffer_c8_t& buffer) {
if (!spectrum_capture_active &&
spectrum_samples >= spectrum_interval_samples) {
spectrum_samples -= spectrum_interval_samples;
channel_spectrum.start_filtered_capture(2);
channel_spectrum.start_capture(2);
spectrum_capture_active = true;
}
if (spectrum_capture_active &&
channel_spectrum.feed_filtered(
channel_spectrum.feed(
audio_decim_0_out,
channel_filter_low_f,
channel_filter_high_f,