summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/audio/multi_tone.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-examples/python/audio/multi_tone.py')
-rwxr-xr-xgnuradio-examples/python/audio/multi_tone.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnuradio-examples/python/audio/multi_tone.py b/gnuradio-examples/python/audio/multi_tone.py
index 4cf9933865..7d47dd5d5a 100755
--- a/gnuradio-examples/python/audio/multi_tone.py
+++ b/gnuradio-examples/python/audio/multi_tone.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2004,2006 Free Software Foundation, Inc.
+# Copyright 2004,2006,2007 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -29,10 +29,10 @@ from optparse import OptionParser
#print os.getpid()
#raw_input('Attach gdb and press Enter: ')
-class my_graph(gr.flow_graph):
+class my_top_block(gr.top_block):
def __init__(self):
- gr.flow_graph.__init__(self)
+ gr.top_block.__init__(self)
parser = OptionParser(option_class=eng_option)
parser.add_option("-O", "--audio-output", type="string", default="",
@@ -85,6 +85,6 @@ class my_graph(gr.flow_graph):
if __name__ == '__main__':
try:
- my_graph().run()
+ my_top_block().run()
except KeyboardInterrupt:
pass