From db034527e9edca6d7aa5ea94f2c5ef37dc6e8622 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Thu, 23 Jun 2022 21:30:38 +0200 Subject: [PATCH] cleanup and better defaultzs --- core/src/core.cpp | 2 +- decoder_modules/radio/src/demodulators/wfm.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/core.cpp b/core/src/core.cpp index d6ac74c8..e7a2da15 100644 --- a/core/src/core.cpp +++ b/core/src/core.cpp @@ -117,7 +117,7 @@ int sdrpp_main(int argc, char* argv[]) { defConfig["fftHeight"] = 300; defConfig["fftRate"] = 20; defConfig["fftSize"] = 65536; - defConfig["fftWindow"] = 1; + defConfig["fftWindow"] = 2; defConfig["frequency"] = 100000000.0; defConfig["fullWaterfallUpdate"] = false; defConfig["max"] = 0.0; diff --git a/decoder_modules/radio/src/demodulators/wfm.h b/decoder_modules/radio/src/demodulators/wfm.h index 28ff2fb3..c3511767 100644 --- a/decoder_modules/radio/src/demodulators/wfm.h +++ b/decoder_modules/radio/src/demodulators/wfm.h @@ -17,7 +17,6 @@ namespace demod { void init(std::string name, ConfigManager* config, dsp::stream* input, double bandwidth, double audioSR) { this->name = name; - this->outputChangeHandler = outputChangeHandler; _config = config; // Load config @@ -105,6 +104,5 @@ namespace demod { bool _lowPass = true; std::string name; - EventHandler*> outputChangeHandler; }; } \ No newline at end of file