aboutsummaryrefslogtreecommitdiffstats
path: root/src/TimestampDecoder.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-10-14 22:10:30 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-10-14 22:10:30 +0200
commit56e046c3390a15aab4baddb502a490bb4505942a (patch)
treeaa6b51bb531dc9ea0b5e2f4f6e34c0b52503349f /src/TimestampDecoder.h
parent388d247d6799bc3ba9fda7b208a620d13db8f8ad (diff)
downloaddabmod-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/TimestampDecoder.h')
-rw-r--r--src/TimestampDecoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TimestampDecoder.h b/src/TimestampDecoder.h
index d083061..dda8644 100644
--- a/src/TimestampDecoder.h
+++ b/src/TimestampDecoder.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) 2018
+ Copyright (C) 2022
Matthias P. Braendli, matthias.braendli@mpb.li
http://opendigitalradio.org
@@ -42,7 +42,7 @@ struct frame_timestamp
uint32_t timestamp_sec;
uint32_t timestamp_pps; // In units of 1/16384000 s
bool timestamp_valid = false;
- bool timestamp_refresh;
+ bool offset_changed = false;
frame_timestamp& operator+=(const double& diff);