cleanup and better defaultzs

pull/801/head
AlexandreRouma 2022-06-23 21:30:38 +02:00
rodzic 97643edf2f
commit db034527e9
2 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

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

Wyświetl plik

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