From 246dcc7aec5d4a1c7ffc014f36d4f963831869d3 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 18 Dec 2015 10:39:15 +0100 Subject: Set initial timestamp --- src/DabMultiplexer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3