aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputUHD.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli (think) <matthias@mpb.li>2012-08-17 11:33:02 +0200
committerMatthias P. Braendli (think) <matthias@mpb.li>2012-08-17 11:33:02 +0200
commitd4a1f755a9e5426187fe6e80eb32c299f81104dd (patch)
treeb65bd65db58b277ac04a416da169b74da51099d8 /src/OutputUHD.cpp
parent63f6e31cad0276352dd508394742b3161dde77bf (diff)
downloaddabmod-d4a1f755a9e5426187fe6e80eb32c299f81104dd.tar.gz
dabmod-d4a1f755a9e5426187fe6e80eb32c299f81104dd.tar.bz2
dabmod-d4a1f755a9e5426187fe6e80eb32c299f81104dd.zip
crc-dabmod: remote control for FIRFilter
Diffstat (limited to 'src/OutputUHD.cpp')
-rw-r--r--src/OutputUHD.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp
index a852c10..eb55c0d 100644
--- a/src/OutputUHD.cpp
+++ b/src/OutputUHD.cpp
@@ -332,7 +332,7 @@ void UHDWorker::process(struct UHDWorkerData *uwd)
frame->fct, tx_second, pps_offset);
uwd->logger->log(info, "OutputUHD: Throwing sample %d away: incomplete timestamp %zu + %f\n",
frame->fct, tx_second, pps_offset);
- usleep(20000);
+ usleep(20000); //TODO should this be TM-dependant ?
goto loopend;
}
@@ -500,6 +500,7 @@ void UHDWorker::process(struct UHDWorkerData *uwd)
frame->fct,
tx_second,
pps_offset);
+ usleep(23000); // 23ms, a bit faster than realtime for TM 2
#endif
last_pps = pps_offset;