summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/usrp_wfm_rcv.py
diff options
context:
space:
mode:
authorJosh Blum2011-11-07 18:33:05 -0800
committerJosh Blum2011-11-07 18:56:29 -0800
commit24da5f495ca629113ea17f14e764af26a2285e73 (patch)
treedf56fe437eaf43de82e5859e97df6dabf02bf8ff /gr-uhd/examples/usrp_wfm_rcv.py
parentd04404e1dd647b2de0f711a6ccba92e9dc21b823 (diff)
downloadgnuradio-24da5f495ca629113ea17f14e764af26a2285e73.tar.gz
gnuradio-24da5f495ca629113ea17f14e764af26a2285e73.tar.bz2
gnuradio-24da5f495ca629113ea17f14e764af26a2285e73.zip
uhd: change examples to use new stream api
Diffstat (limited to 'gr-uhd/examples/usrp_wfm_rcv.py')
-rwxr-xr-xgr-uhd/examples/usrp_wfm_rcv.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gr-uhd/examples/usrp_wfm_rcv.py b/gr-uhd/examples/usrp_wfm_rcv.py
index cfdaa6d6f..a4abdd2a7 100755
--- a/gr-uhd/examples/usrp_wfm_rcv.py
+++ b/gr-uhd/examples/usrp_wfm_rcv.py
@@ -69,9 +69,7 @@ class wfm_rx_block (stdgui2.std_top_block):
self.fm_freq_max = options.freq_max
# build graph
- self.u = uhd.usrp_source(device_addr=options.args,
- io_type=uhd.io_type.COMPLEX_FLOAT32,
- num_channels=1)
+ self.u = uhd.usrp_source(device_addr=options.args, stream_args=uhd.stream_args('fc32'))
usrp_rate = 320e3
demod_rate = 320e3