aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-12-20 17:38:00 -0800
committerJosh Blum <josh@joshknows.com>2011-12-20 17:38:00 -0800
commit81289ab0510c847daacf75e261cad2de5cd7d508 (patch)
treeaa8a92f1dab55b9183f1bf14d78c25a3cde255f4 /host/lib/usrp/usrp2
parentcdf8de0ca34d787ee9b3fed543f5e45bc2df00fa (diff)
downloaduhd-81289ab0510c847daacf75e261cad2de5cd7d508.tar.gz
uhd-81289ab0510c847daacf75e261cad2de5cd7d508.tar.bz2
uhd-81289ab0510c847daacf75e261cad2de5cd7d508.zip
usrp: added underflow_policy to tx streamer args
Diffstat (limited to 'host/lib/usrp/usrp2')
-rw-r--r--host/lib/usrp/usrp2/io_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp
index 62941ac79..44ab513ac 100644
--- a/host/lib/usrp/usrp2/io_impl.cpp
+++ b/host/lib/usrp/usrp2/io_impl.cpp
@@ -487,6 +487,7 @@ tx_streamer::sptr usrp2_impl::get_tx_stream(const uhd::stream_args_t &args_){
_mbc[mb].tx_dsp->clear();
_io_impl->fc_mons[abs]->clear();
}
+ if (args.args.has_key("underflow_policy")) _mbc[mb].tx_dsp->set_underflow_policy(args.args["underflow_policy"]);
my_streamer->set_xport_chan_get_buff(chan_i, boost::bind(
&usrp2_impl::io_impl::get_send_buff, _io_impl.get(), abs, _1
));