projects
/
debian
/
gnuradio
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 3.2.2
[debian/gnuradio]
/
gnuradio-examples
/
python
/
audio
/
audio_play.py
diff --git
a/gnuradio-examples/python/audio/audio_play.py
b/gnuradio-examples/python/audio/audio_play.py
index 494ea2768838a949c2423d67b638d5222e382dad..f9520c7cf93e596d93438d0afef2efb7beb1b773 100755
(executable)
--- a/
gnuradio-examples/python/audio/audio_play.py
+++ b/
gnuradio-examples/python/audio/audio_play.py
@@
-1,12
+1,12
@@
#!/usr/bin/env python
#
#!/usr/bin/env python
#
-# Copyright 2004,2005 Free Software Foundation, Inc.
+# Copyright 2004,2005
,2007
Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This file is part of GNU Radio
#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version
2
, or (at your option)
+# the Free Software Foundation; either version
3
, or (at your option)
# any later version.
#
# GNU Radio is distributed in the hope that it will be useful,
# any later version.
#
# GNU Radio is distributed in the hope that it will be useful,
@@
-26,10
+26,10
@@
from gnuradio.eng_option import eng_option
from optparse import OptionParser
from optparse import OptionParser
-class my_
graph(gr.flow_graph
):
+class my_
top_block(gr.top_block
):
def __init__(self):
def __init__(self):
- gr.
flow_graph
.__init__(self)
+ gr.
top_block
.__init__(self)
parser = OptionParser(option_class=eng_option)
parser.add_option("-F", "--filename", type="string", default="audio.dat",
parser = OptionParser(option_class=eng_option)
parser.add_option("-F", "--filename", type="string", default="audio.dat",
@@
-52,6
+52,6
@@
class my_graph(gr.flow_graph):
if __name__ == '__main__':
try:
if __name__ == '__main__':
try:
- my_
graph
().run()
+ my_
top_block
().run()
except KeyboardInterrupt:
pass
except KeyboardInterrupt:
pass