summaryrefslogtreecommitdiffstats
path: root/host/examples/latency_test.cpp
diff options
context:
space:
mode:
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;