From dac9a5001a0cdb2f03241025fc61cca7baeb3787 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 21 Nov 2011 09:55:55 -0800 Subject: usrp: clear dsp when making new streamer --- host/lib/usrp/e100/io_impl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/usrp/e100/io_impl.cpp') diff --git a/host/lib/usrp/e100/io_impl.cpp b/host/lib/usrp/e100/io_impl.cpp index 3b0828b45..855fda0d7 100644 --- a/host/lib/usrp/e100/io_impl.cpp +++ b/host/lib/usrp/e100/io_impl.cpp @@ -362,6 +362,7 @@ tx_streamer::sptr e100_impl::get_tx_stream(const uhd::stream_args_t &args_){ for (size_t chan_i = 0; chan_i < args.channels.size(); chan_i++){ const size_t dsp = args.channels[chan_i]; UHD_ASSERT_THROW(dsp == 0); //always 0 + _tx_dsp->clear(); my_streamer->set_xport_chan_get_buff(chan_i, boost::bind( &zero_copy_if::get_send_buff, _data_transport, _1 )); -- cgit v1.2.3