diff options
author | Josh Blum <josh@joshknows.com> | 2011-10-06 09:25:54 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-11-03 20:37:11 -0700 |
commit | fac15db5d77c5196badb4a06f2f5fec34eb57337 (patch) | |
tree | b5cb44f47bc713a7205fa57b9f193f03a21745f2 /host/examples/benchmark_rate.cpp | |
parent | fa6d1380918e655a66cd209d7be3b0b31c61e907 (diff) | |
download | uhd-fac15db5d77c5196badb4a06f2f5fec34eb57337.tar.gz uhd-fac15db5d77c5196badb4a06f2f5fec34eb57337.tar.bz2 uhd-fac15db5d77c5196badb4a06f2f5fec34eb57337.zip |
uhd: renamed some of the stream types and functions
Diffstat (limited to 'host/examples/benchmark_rate.cpp')
-rw-r--r-- | host/examples/benchmark_rate.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/examples/benchmark_rate.cpp b/host/examples/benchmark_rate.cpp index 7862bd44b..fce184514 100644 --- a/host/examples/benchmark_rate.cpp +++ b/host/examples/benchmark_rate.cpp @@ -44,8 +44,8 @@ void benchmark_rx_rate(uhd::usrp::multi_usrp::sptr usrp){ uhd::set_thread_priority_safe(); //create a receive streamer - uhd::streamer_args stream_args("fc32"); //complex floats - uhd::rx_streamer::sptr rx_stream = usrp->get_rx_streamer(stream_args); + uhd::stream_args_t stream_args("fc32"); //complex floats + uhd::rx_streamer::sptr rx_stream = usrp->get_rx_stream(stream_args); //print pre-test summary std::cout << boost::format( @@ -98,8 +98,8 @@ void benchmark_tx_rate(uhd::usrp::multi_usrp::sptr usrp){ uhd::set_thread_priority_safe(); //create a transmit streamer - uhd::streamer_args stream_args("fc32"); //complex floats - uhd::tx_streamer::sptr tx_stream = usrp->get_tx_streamer(stream_args); + uhd::stream_args_t stream_args("fc32"); //complex floats + uhd::tx_streamer::sptr tx_stream = usrp->get_tx_stream(stream_args); //print pre-test summary std::cout << boost::format( |