From 426cad9264067820e0dabe4bcf5e045edbf5c214 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 27 Nov 2015 16:48:18 +0100 Subject: Fix UHD output timestamp increment --- src/OutputUHD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp index a82550f..fab1fd1 100644 --- a/src/OutputUHD.cpp +++ b/src/OutputUHD.cpp @@ -857,7 +857,7 @@ void UHDWorker::tx_frame(const struct UHDWorkerFrameData *frame) num_acc_samps += num_tx_samps; md.time_spec = uhd::time_spec_t(tx_second, pps_offset) - + uhd::time_spec_t(0, num_acc_samps/uwd->sampleRate); + + uhd::time_spec_t(0, num_tx_samps/uwd->sampleRate); if (num_tx_samps == 0) { etiLog.log(warn, -- cgit v1.2.3