From 5ebfab9364d4315394a136732fd464ffe2229588 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 20 May 2016 16:14:33 +0200 Subject: Improve timestamp handling Replace PPS representation from double to integer, and analyse in OutputUHD if the timestamp is as expected. --- src/EtiReader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/EtiReader.h') diff --git a/src/EtiReader.h b/src/EtiReader.h index c9cbe07..4c0d4f3 100644 --- a/src/EtiReader.h +++ b/src/EtiReader.h @@ -67,8 +67,8 @@ public: bool sourceContainsTimestamp(); protected: - /* Transform the ETI TIST to a PPS offset in ms */ - double getPPSOffset(); + /* Transform the ETI TIST to a PPS offset in units of 1/16384000 s */ + uint32_t getPPSOffset(); void sync(); int state; -- cgit v1.2.3