summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/digital/rx_voice.py
diff options
context:
space:
mode:
authorjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2009-07-10 00:36:36 +0000
committerjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>2009-07-10 00:36:36 +0000
commite921d54419e95c097cdecf21a2de7c393eb75f18 (patch)
treeab76982d0212a032efd04cd48e43aa87bbfddcb6 /gnuradio-examples/python/digital/rx_voice.py
parente573f752e6d9366a2629789a7158cce645a44235 (diff)
Merged r11401:11405 from jblum/digital into trunk. Restores tunnel.py, rx_voice.py, and tx_voice.py operation after transmit/receive path refactoring.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11406 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-examples/python/digital/rx_voice.py')
-rwxr-xr-xgnuradio-examples/python/digital/rx_voice.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnuradio-examples/python/digital/rx_voice.py b/gnuradio-examples/python/digital/rx_voice.py
index fa9e50b8e4..1aad1ff8e6 100755
--- a/gnuradio-examples/python/digital/rx_voice.py
+++ b/gnuradio-examples/python/digital/rx_voice.py
@@ -34,7 +34,7 @@ import struct
import sys
# from current dir
-from receive_path import receive_path
+import usrp_receive_path
#import os
#print os.getpid()
@@ -61,7 +61,7 @@ class audio_tx(gr.hier_block2):
class my_top_block(gr.top_block):
def __init__(self, demod_class, rx_callback, options):
gr.top_block.__init__(self)
- self.rxpath = receive_path(demod_class, rx_callback, options)
+ self.rxpath = usrp_receive_path.usrp_receive_path(demod_class, rx_callback, options)
self.audio_tx = audio_tx(options.audio_output)
self.connect(self.rxpath)
self.connect(self.audio_tx)
@@ -101,8 +101,7 @@ def main():
% (', '.join(demods.keys()),))
parser.add_option("-O", "--audio-output", type="string", default="",
help="pcm output device name. E.g., hw:0,0 or /dev/dsp")
-
- receive_path.add_options(parser, expert_grp)
+ usrp_receive_path.add_options(parser, expert_grp)
for mod in demods.values():
mod.add_options(expert_grp)