diff options
author | Thomas Tsou <ttsou@vt.edu> | 2010-08-27 22:40:21 -0700 |
---|---|---|
committer | Thomas Tsou <ttsou@vt.edu> | 2010-08-27 22:55:18 -0700 |
commit | 7d7479ad0569337910f01b77df9bd8e3d385f8a5 (patch) | |
tree | f0dd227aa3c1e0a8c5a163c3d1ca02967970a6fa | |
parent | 76365acdbb22c5a4c6c2d9b6fbcc015ace6df09a (diff) | |
download | uhd-7d7479ad0569337910f01b77df9bd8e3d385f8a5.tar.gz uhd-7d7479ad0569337910f01b77df9bd8e3d385f8a5.tar.bz2 uhd-7d7479ad0569337910f01b77df9bd8e3d385f8a5.zip |
usrp1: Don't flush the stream buffer after every overrun/underrun
-rw-r--r-- | host/lib/usrp/usrp1/io_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp1/io_impl.cpp b/host/lib/usrp/usrp1/io_impl.cpp index 5e206b3d5..920c47b30 100644 --- a/host/lib/usrp/usrp1/io_impl.cpp +++ b/host/lib/usrp/usrp1/io_impl.cpp @@ -189,7 +189,7 @@ bool usrp1_impl::io_impl::check_underrun(usrp_ctrl::sptr ctrl_if, if (ret < 0) std::cerr << "USRP: underrun check failed" << std::endl; if (underrun) - std::cerr << "U" << std::endl; + std::cerr << "Uu"; send_state.underrun_poll_samp_count = 0; } @@ -289,7 +289,7 @@ bool usrp1_impl::io_impl::check_overrun(usrp_ctrl::sptr ctrl_if, if (ret < 0) std::cerr << "USRP: overrrun check failed" << std::endl; if (overrun) - std::cerr << "O" << std::endl; + std::cerr << "Oo"; recv_state.overrun_poll_samp_count = 0; } |