mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-02-23 21:03:57 +01:00
better defaults for rtl-sdr and rtl-tcp sources
This commit is contained in:
parent
011fdce237
commit
c13eb950b2
@ -160,7 +160,7 @@ public:
|
||||
config.acquire();
|
||||
if (!config.conf["devices"].contains(selectedDevName)) {
|
||||
created = true;
|
||||
config.conf["devices"][selectedDevName]["sampleRate"] = sampleRate;
|
||||
config.conf["devices"][selectedDevName]["sampleRate"] = 2400000.0;
|
||||
config.conf["devices"][selectedDevName]["directSampling"] = directSamplingMode;
|
||||
config.conf["devices"][selectedDevName]["biasT"] = biasT;
|
||||
config.conf["devices"][selectedDevName]["offsetTuning"] = offsetTuning;
|
||||
|
@ -53,7 +53,7 @@ public:
|
||||
RTLTCPSourceModule(std::string name) {
|
||||
this->name = name;
|
||||
|
||||
sampleRate = 2560000.0;
|
||||
sampleRate = 2400000.0;
|
||||
|
||||
int srCount = sizeof(sampleRatesTxt) / sizeof(char*);
|
||||
for (int i = 0; i < srCount; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user