summaryrefslogtreecommitdiffstats
path: root/host/examples/latency_test.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-10-06 09:25:54 -0700
committerJosh Blum <josh@joshknows.com>2011-11-03 20:37:11 -0700
commitfac15db5d77c5196badb4a06f2f5fec34eb57337 (patch)
treeb5cb44f47bc713a7205fa57b9f193f03a21745f2 /host/examples/latency_test.cpp
parentfa6d1380918e655a66cd209d7be3b0b31c61e907 (diff)
downloaduhd-fac15db5d77c5196badb4a06f2f5fec34eb57337.tar.gz
uhd-fac15db5d77c5196badb4a06f2f5fec34eb57337.tar.bz2
uhd-fac15db5d77c5196badb4a06f2f5fec34eb57337.zip
uhd: renamed some of the stream types and functions
Diffstat (limited to 'host/examples/latency_test.cpp')
-rw-r--r--host/examples/latency_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/examples/latency_test.cpp b/host/examples/latency_test.cpp
index b995b0433..518d2383a 100644
--- a/host/examples/latency_test.cpp
+++ b/host/examples/latency_test.cpp
@@ -84,9 +84,9 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
std::vector<std::complex<float> > buffer(nsamps);
//create RX and TX streamers
- uhd::streamer_args stream_args("fc32"); //complex floats
- uhd::rx_streamer::sptr rx_stream = usrp->get_rx_streamer(stream_args);
- uhd::tx_streamer::sptr tx_stream = usrp->get_tx_streamer(stream_args);
+ uhd::stream_args_t stream_args("fc32"); //complex floats
+ uhd::rx_streamer::sptr rx_stream = usrp->get_rx_stream(stream_args);
+ uhd::tx_streamer::sptr tx_stream = usrp->get_tx_stream(stream_args);
//initialize result counts
int time_error = 0;