mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-10 04:37:37 +01:00
cleanup and better defaultzs
This commit is contained in:
parent
97643edf2f
commit
db034527e9
@ -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;
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user