diff options
author | Josh Blum <josh@joshknows.com> | 2011-12-20 17:38:00 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-12-20 17:38:00 -0800 |
commit | 81289ab0510c847daacf75e261cad2de5cd7d508 (patch) | |
tree | aa8a92f1dab55b9183f1bf14d78c25a3cde255f4 /host/lib/usrp/e100 | |
parent | cdf8de0ca34d787ee9b3fed543f5e45bc2df00fa (diff) | |
download | uhd-81289ab0510c847daacf75e261cad2de5cd7d508.tar.gz uhd-81289ab0510c847daacf75e261cad2de5cd7d508.tar.bz2 uhd-81289ab0510c847daacf75e261cad2de5cd7d508.zip |
usrp: added underflow_policy to tx streamer args
Diffstat (limited to 'host/lib/usrp/e100')
-rw-r--r-- | host/lib/usrp/e100/io_impl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/e100/io_impl.cpp b/host/lib/usrp/e100/io_impl.cpp index 5dddeef25..0cc09bd6d 100644 --- a/host/lib/usrp/e100/io_impl.cpp +++ b/host/lib/usrp/e100/io_impl.cpp @@ -367,6 +367,7 @@ tx_streamer::sptr e100_impl::get_tx_stream(const uhd::stream_args_t &args_){ const size_t dsp = args.channels[chan_i]; UHD_ASSERT_THROW(dsp == 0); //always 0 if (not args.args.has_key("noclear")) _tx_dsp->clear(); + if (args.args.has_key("underflow_policy")) _tx_dsp->set_underflow_policy(args.args["underflow_policy"]); my_streamer->set_xport_chan_get_buff(chan_i, boost::bind( &zero_copy_if::get_send_buff, _data_transport, _1 )); |