aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputUHD.h
diff options
context:
space:
mode:
authorMatthias (think) <matthias@mpb.li>2012-07-18 15:03:46 +0200
committerMatthias (think) <matthias@mpb.li>2012-07-18 15:03:46 +0200
commit827f61c82c4739ddc45bf925b55c73cf6dcf307a (patch)
tree7bedae4fd9bea200380a856a2e01487904aa3621 /src/OutputUHD.h
parent4b814d92fe9787bf72ed3a9632e0866f4cedd27f (diff)
downloaddabmod-827f61c82c4739ddc45bf925b55c73cf6dcf307a.tar.gz
dabmod-827f61c82c4739ddc45bf925b55c73cf6dcf307a.tar.bz2
dabmod-827f61c82c4739ddc45bf925b55c73cf6dcf307a.zip
dabmod: made OutputUHD usable without REFCLK and 1PPS (Single transmitter)
Diffstat (limited to 'src/OutputUHD.h')
-rw-r--r--src/OutputUHD.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/OutputUHD.h b/src/OutputUHD.h
index eea594f..953675d 100644
--- a/src/OutputUHD.h
+++ b/src/OutputUHD.h
@@ -135,7 +135,7 @@ class UHDWorker {
class OutputUHD: public ModOutput {
public:
OutputUHD(char* device, unsigned sampleRate, double frequency, int txgain,
- bool muteNoTimestamps);
+ bool enableSync, bool muteNoTimestamps);
~OutputUHD();
int process(Buffer* dataIn, Buffer* dataOut);
@@ -159,6 +159,7 @@ class OutputUHD: public ModOutput {
struct UHDWorkerData uwd;
int activebuffer;
bool mute_no_timestamps;
+ bool enable_sync;
size_t lastLen;
};