diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-10-14 22:10:30 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-10-14 22:10:30 +0200 |
commit | 56e046c3390a15aab4baddb502a490bb4505942a (patch) | |
tree | aa6b51bb531dc9ea0b5e2f4f6e34c0b52503349f /src/output/SDRDevice.h | |
parent | 388d247d6799bc3ba9fda7b208a620d13db8f8ad (diff) | |
download | dabmod-56e046c3390a15aab4baddb502a490bb4505942a.tar.gz dabmod-56e046c3390a15aab4baddb502a490bb4505942a.tar.bz2 dabmod-56e046c3390a15aab4baddb502a490bb4505942a.zip |
Rework timestamp_refresh
Since we have the 'timestamp in the past' warning refresh requests can be lost
Diffstat (limited to 'src/output/SDRDevice.h')
-rw-r--r-- | src/output/SDRDevice.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/output/SDRDevice.h b/src/output/SDRDevice.h index bb63f60..b599f5a 100644 --- a/src/output/SDRDevice.h +++ b/src/output/SDRDevice.h @@ -2,7 +2,7 @@ Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2019 + Copyright (C) 2022 Matthias P. Braendli, matthias.braendli@mpb.li http://opendigitalradio.org @@ -142,6 +142,11 @@ class SDRDevice { virtual bool is_clk_source_ok(void) const = 0; virtual const char* device_name(void) const = 0; + + virtual void require_timestamp_refresh() { m_require_timestamp_refresh = true; } + + protected: + bool m_require_timestamp_refresh = false; }; } // namespace Output |