mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-02-03 05:14:44 +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["fftHeight"] = 300;
|
||||||
defConfig["fftRate"] = 20;
|
defConfig["fftRate"] = 20;
|
||||||
defConfig["fftSize"] = 65536;
|
defConfig["fftSize"] = 65536;
|
||||||
defConfig["fftWindow"] = 1;
|
defConfig["fftWindow"] = 2;
|
||||||
defConfig["frequency"] = 100000000.0;
|
defConfig["frequency"] = 100000000.0;
|
||||||
defConfig["fullWaterfallUpdate"] = false;
|
defConfig["fullWaterfallUpdate"] = false;
|
||||||
defConfig["max"] = 0.0;
|
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) {
|
void init(std::string name, ConfigManager* config, dsp::stream<dsp::complex_t>* input, double bandwidth, double audioSR) {
|
||||||
this->name = name;
|
this->name = name;
|
||||||
this->outputChangeHandler = outputChangeHandler;
|
|
||||||
_config = config;
|
_config = config;
|
||||||
|
|
||||||
// Load config
|
// Load config
|
||||||
@ -105,6 +104,5 @@ namespace demod {
|
|||||||
bool _lowPass = true;
|
bool _lowPass = true;
|
||||||
|
|
||||||
std::string name;
|
std::string name;
|
||||||
EventHandler<dsp::stream<dsp::stereo_t>*> outputChangeHandler;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user