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/tx_waveforms.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/tx_waveforms.cpp')
-rw-r--r-- | host/examples/tx_waveforms.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/examples/tx_waveforms.cpp b/host/examples/tx_waveforms.cpp index 9aa3ec71f..1eb6c2f1e 100644 --- a/host/examples/tx_waveforms.cpp +++ b/host/examples/tx_waveforms.cpp @@ -204,10 +204,10 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ //create a transmit streamer //linearly map channels (index0 = channel0, index1 = channel1, ...) - uhd::streamer_args stream_args("fc32"); + uhd::stream_args_t stream_args("fc32"); for (size_t chan = 0; chan < usrp->get_tx_num_channels(); chan++) stream_args.channels.push_back(chan); //linear mapping - uhd::tx_streamer::sptr tx_stream = usrp->get_tx_streamer(stream_args); + uhd::tx_streamer::sptr tx_stream = usrp->get_tx_stream(stream_args); //allocate a buffer which we re-use for each channel std::vector<std::complex<float> > buff(spb); |