aboutsummaryrefslogtreecommitdiffstats
path: root/src/EtiReader.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-05-20 16:14:33 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-05-20 16:14:33 +0200
commit5ebfab9364d4315394a136732fd464ffe2229588 (patch)
treed586170ffd92a123fb45979e89a5c0b4e2fa0890 /src/EtiReader.h
parentd9ef93e7e8cc94da627f39f3c443b9a845ccecf4 (diff)
downloaddabmod-5ebfab9364d4315394a136732fd464ffe2229588.tar.gz
dabmod-5ebfab9364d4315394a136732fd464ffe2229588.tar.bz2
dabmod-5ebfab9364d4315394a136732fd464ffe2229588.zip
Improve timestamp handling
Replace PPS representation from double to integer, and analyse in OutputUHD if the timestamp is as expected.
Diffstat (limited to 'src/EtiReader.h')
-rw-r--r--src/EtiReader.h4
1 files changed, 2 insertions, 2 deletions
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;