aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/tx_samples_from_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/examples/tx_samples_from_file.cpp')
-rw-r--r--host/examples/tx_samples_from_file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/examples/tx_samples_from_file.cpp b/host/examples/tx_samples_from_file.cpp
index 09939183b..964c6cea8 100644
--- a/host/examples/tx_samples_from_file.cpp
+++ b/host/examples/tx_samples_from_file.cpp
@@ -34,8 +34,8 @@ template<typename samp_type> void send_from_file(
size_t samps_per_buff
){
//create a transmit streamer
- uhd::streamer_args stream_args(cpu_format);
- uhd::tx_streamer::sptr tx_stream = usrp->get_tx_streamer(stream_args);
+ uhd::stream_args_t stream_args(cpu_format);
+ uhd::tx_streamer::sptr tx_stream = usrp->get_tx_stream(stream_args);
uhd::tx_metadata_t md;
md.start_of_burst = false;