summaryrefslogtreecommitdiff
path: root/gr-audio/examples/python/test_resampler.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-03-17 21:31:47 -0400
committerTom Rondeau <trondeau@vt.edu>2013-03-17 21:31:47 -0400
commitcabdafcb55423b54b63b711c942d4438b6af1a65 (patch)
tree4130dbe4ef3f3814baad5e6d7a6f65c19add0657 /gr-audio/examples/python/test_resampler.py
parent35e94fb8f4f3ead626f6ed28385148475773afc7 (diff)
cleaning up, converting examples, etc.
Diffstat (limited to 'gr-audio/examples/python/test_resampler.py')
-rwxr-xr-xgr-audio/examples/python/test_resampler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-audio/examples/python/test_resampler.py b/gr-audio/examples/python/test_resampler.py
index 0f5544cfa9..94d95fecf3 100755
--- a/gr-audio/examples/python/test_resampler.py
+++ b/gr-audio/examples/python/test_resampler.py
@@ -22,6 +22,7 @@
from gnuradio import gr, gru
from gnuradio import audio
+from gnuradio import filter
from gnuradio.eng_option import eng_option
from optparse import OptionParser
@@ -65,7 +66,7 @@ class my_top_block(gr.top_block):
ampl = 0.1
src0 = analog.sig_source_f(input_rate, analog.GR_SIN_WAVE, 650, ampl)
- rr = blocks.rational_resampler_fff(interp, decim)
+ rr = filter.rational_resampler_fff(interp, decim)
dst = audio.sink(output_rate, options.audio_output)
self.connect(src0, rr, (dst, 0))