summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/python/usrp_wfm_rcv_pll.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/examples/python/usrp_wfm_rcv_pll.py')
-rwxr-xr-xgr-uhd/examples/python/usrp_wfm_rcv_pll.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-uhd/examples/python/usrp_wfm_rcv_pll.py b/gr-uhd/examples/python/usrp_wfm_rcv_pll.py
index 8cd3d5ab13..5d3045589c 100755
--- a/gr-uhd/examples/python/usrp_wfm_rcv_pll.py
+++ b/gr-uhd/examples/python/usrp_wfm_rcv_pll.py
@@ -21,6 +21,7 @@
#
from gnuradio import gr, audio, uhd
+from gnuradio import blocks
from gnuradio import filter
from gnuradio import analog
from gnuradio import eng_notation
@@ -108,8 +109,8 @@ class wfm_rx_block (stdgui2.std_top_block):
self.lchan_filt = filter.pfb.arb_resampler_fff(chan_rate)
# FIXME rework {add,multiply}_const_* to handle multiple streams
- self.volume_control_l = gr.multiply_const_ff(self.vol)
- self.volume_control_r = gr.multiply_const_ff(self.vol)
+ self.volume_control_l = blocks.multiply_const_ff(self.vol)
+ self.volume_control_r = blocks.multiply_const_ff(self.vol)
# sound card as final sink
self.audio_sink = audio.sink (int (audio_rate),