From 81289ab0510c847daacf75e261cad2de5cd7d508 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 20 Dec 2011 17:38:00 -0800 Subject: usrp: added underflow_policy to tx streamer args --- host/lib/usrp/usrp2/io_impl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/usrp/usrp2') 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 )); -- cgit v1.2.3