cleanup and better defaultzs

This commit is contained in:
AlexandreRouma 2022-06-23 21:30:38 +02:00
parent 97643edf2f
commit db034527e9
2 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -17,7 +17,6 @@ namespace demod {
void init(std::string name, ConfigManager* config, dsp::stream<dsp::complex_t>* 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<dsp::stream<dsp::stereo_t>*> outputChangeHandler;
};
}