summaryrefslogtreecommitdiffstats
path: root/src/TimestampDecoder.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 11:11:12 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 11:11:12 +0100
commit1e76247e059021ea52309ebd258b6eed033d6aee (patch)
tree29ef4aa7ae5826050fb4a36dce947e24977366f9 /src/TimestampDecoder.h
parent39a70386994b1ab8876bd020d3755ce609903c48 (diff)
downloaddabmod-1e76247e059021ea52309ebd258b6eed033d6aee.tar.gz
dabmod-1e76247e059021ea52309ebd258b6eed033d6aee.tar.bz2
dabmod-1e76247e059021ea52309ebd258b6eed033d6aee.zip
Remove calculateTimestamp
Diffstat (limited to 'src/TimestampDecoder.h')
-rw-r--r--src/TimestampDecoder.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/TimestampDecoder.h b/src/TimestampDecoder.h
index 0953f76..000156d 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) 2017
+ Copyright (C) 2018
Matthias P. Braendli, matthias.braendli@mpb.li
http://opendigitalradio.org
@@ -119,15 +119,8 @@ class TimestampDecoder : public RemoteControllable
public:
/* offset_s: The modulator adds this offset to the TIST to define time of
* frame transmission
- *
- * tist_delay_stages: Specifies by how many stages the timestamp must
- * be delayed. (e.g. The FIRFilter is pipelined, therefore we must
- * increase tist_delay_stages by one if the filter is used
*/
- TimestampDecoder(double& offset_s, unsigned tist_delay_stages);
-
- /* Calculate the timestamp for the current frame. */
- void calculateTimestamp(frame_timestamp& ts);
+ TimestampDecoder(double& offset_s);
std::shared_ptr<frame_timestamp> getTimestamp(void);
@@ -185,7 +178,6 @@ class TimestampDecoder : public RemoteControllable
uint32_t latestFP = 0;
uint32_t time_pps = 0;
double& timestamp_offset;
- unsigned m_tist_delay_stages;
int inhibit_second_update = 0;
bool offset_changed = false;
@@ -196,12 +188,5 @@ class TimestampDecoder : public RemoteControllable
/* Disable timstamps until full time has been received */
bool full_timestamp_received = false;
-
- /* when pipelining, we must shift the calculated timestamps
- * through this queue. Otherwise, it would not be possible to
- * synchronise two modulators if only one uses (for instance) the
- * FIRFilter (1 stage pipeline)
- */
- std::queue<std::shared_ptr<frame_timestamp> > queue_timestamps;
};