mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-07-11 13:24:09 -04:00
Save offset, direct sampling mode and i/q swap per device
This commit is contained in:
+12
-1
@@ -14,7 +14,16 @@ public:
|
||||
|
||||
void setPPM(int ppm);
|
||||
int getPPM();
|
||||
|
||||
void setDirectSampling(int mode);
|
||||
int getDirectSampling();
|
||||
|
||||
void setOffset(long long offset);
|
||||
long long getOffset();
|
||||
|
||||
void setIQSwap(bool iqSwap);
|
||||
bool getIQSwap();
|
||||
|
||||
void setDeviceId(std::string deviceId);
|
||||
std::string getDeviceId();
|
||||
|
||||
@@ -23,7 +32,9 @@ public:
|
||||
|
||||
private:
|
||||
std::string deviceId;
|
||||
int ppm;
|
||||
int ppm, directSampling;
|
||||
bool iqSwap;
|
||||
long long offset;
|
||||
};
|
||||
|
||||
class AppConfig {
|
||||
|
||||
Reference in New Issue
Block a user