aboutsummaryrefslogtreecommitdiffstats
path: root/src/TimestampDecoder.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-02-21 18:13:26 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-02-21 18:13:26 +0100
commit05d3e26409a8f62c7f55851390d61d953f59489a (patch)
tree45c9428132e4f02f799ca81fce434fcf33fd1120 /src/TimestampDecoder.h
parentba0c32703ee1af770deabdf864c806d974ea8206 (diff)
downloaddabmod-05d3e26409a8f62c7f55851390d61d953f59489a.tar.gz
dabmod-05d3e26409a8f62c7f55851390d61d953f59489a.tar.bz2
dabmod-05d3e26409a8f62c7f55851390d61d953f59489a.zip
Change mod to output queue behaviour, fix SFN dexter + B200
Diffstat (limited to 'src/TimestampDecoder.h')
-rw-r--r--src/TimestampDecoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/TimestampDecoder.h b/src/TimestampDecoder.h
index 2793e02..597b777 100644
--- a/src/TimestampDecoder.h
+++ b/src/TimestampDecoder.h
@@ -42,6 +42,8 @@ struct frame_timestamp
uint32_t timestamp_sec; // seconds in unix epoch
uint32_t timestamp_pps; // In units of 1/16384000 s
bool timestamp_valid = false;
+
+ double timestamp_offset = 0.0; // copy of the configured modulator offset
bool offset_changed = false;
frame_timestamp& operator+=(const double& diff);