diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-11-27 16:48:18 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-11-27 16:48:18 +0100 |
commit | 426cad9264067820e0dabe4bcf5e045edbf5c214 (patch) | |
tree | b682330be5a6a3a9d2a22b3945417b319faadad7 | |
parent | 90345f6b82deaa64b9f0387b17eb6f532330dc7f (diff) | |
download | dabmod-426cad9264067820e0dabe4bcf5e045edbf5c214.tar.gz dabmod-426cad9264067820e0dabe4bcf5e045edbf5c214.tar.bz2 dabmod-426cad9264067820e0dabe4bcf5e045edbf5c214.zip |
Fix UHD output timestamp increment
-rw-r--r-- | src/OutputUHD.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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, |