commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 01/01: gr_uhd: give source a headstart


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/01: gr_uhd: give source a headstart
Date: Thu, 16 Apr 2015 15:08:08 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit 6e6e0314f272cacfe4540ee622b27296f8755df1
Author: Marcus Müller <address@hidden>
Date:   Thu Apr 16 16:16:21 2015 +0200

    gr_uhd: give source a headstart
    
    of 0.05s relative to usrp_source, which starts streaming 0.10s after start()
    being called.
    
    This should fix underflows when RX->TXing.
    
    @mbr0wn said this was O.K.
    
    Reference:
    
http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2015-April/013375.html
    
    Rob said increasing the delay on the TX side solved is "L"ate packet
    issues.
---
 gr-uhd/lib/usrp_sink_impl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gr-uhd/lib/usrp_sink_impl.cc b/gr-uhd/lib/usrp_sink_impl.cc
index 60f0a39..08896a8 100644
--- a/gr-uhd/lib/usrp_sink_impl.cc
+++ b/gr-uhd/lib/usrp_sink_impl.cc
@@ -809,7 +809,7 @@ namespace gr {
         _metadata.time_spec = _start_time;
       }
       else {
-        _metadata.time_spec = get_time_now() + ::uhd::time_spec_t(0.01);
+        _metadata.time_spec = get_time_now() + ::uhd::time_spec_t(0.15);
       }
 
 #ifdef GR_UHD_USE_STREAM_API



reply via email to

[Prev in Thread] Current Thread [Next in Thread]