summaryrefslogtreecommitdiffstats
path: root/src/DabMultiplexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DabMultiplexer.cpp')
-rw-r--r--src/DabMultiplexer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DabMultiplexer.cpp b/src/DabMultiplexer.cpp
index 399084a..2578cfd 100644
--- a/src/DabMultiplexer.cpp
+++ b/src/DabMultiplexer.cpp
@@ -238,6 +238,9 @@ void DabMultiplexer::prepare()
* synchronisation is preserved.
*/
gettimeofday(&mnsc_time, NULL);
+
+ // Shift ms by 13 to Timestamp level 2, see below in Section TIST
+ timestamp = (mnsc_time.tv_usec / 1000) << 13;
}