diff options
author | Matthias P. Braendli (think) <matthias@mpb.li> | 2012-08-16 18:56:43 +0200 |
---|---|---|
committer | Matthias P. Braendli (think) <matthias@mpb.li> | 2012-08-16 18:56:43 +0200 |
commit | 63f6e31cad0276352dd508394742b3161dde77bf (patch) | |
tree | ca071abf8a14479b507e10b717dbd9d5727a39ee /src/OutputUHD.h | |
parent | 06fe89bd86fc709908c5882a2c48d03fc0977a25 (diff) | |
download | dabmod-63f6e31cad0276352dd508394742b3161dde77bf.tar.gz dabmod-63f6e31cad0276352dd508394742b3161dde77bf.tar.bz2 dabmod-63f6e31cad0276352dd508394742b3161dde77bf.zip |
crc-dabmod: UHD remote control supports mutingr3
Diffstat (limited to 'src/OutputUHD.h')
-rw-r--r-- | src/OutputUHD.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/OutputUHD.h b/src/OutputUHD.h index 28d3f25..b7e570a 100644 --- a/src/OutputUHD.h +++ b/src/OutputUHD.h @@ -102,6 +102,9 @@ struct UHDWorkerData { struct UHDWorkerFrameData frame1; size_t bufsize; // in bytes + // muting set by remote control + bool muting; + // A barrier to synchronise the two threads shared_ptr<barrier> sync_barrier; @@ -187,6 +190,9 @@ class OutputUHD: public ModOutput, public RemoteControllable { bool mute_no_timestamps; bool enable_sync; + // muting can only be changed using the remote control + bool myMuting; + size_t lastLen; }; |