diff options
Diffstat (limited to 'gnuradio-examples/python/hier/networking/audio_sink.py')
-rwxr-xr-x | gnuradio-examples/python/hier/networking/audio_sink.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gnuradio-examples/python/hier/networking/audio_sink.py b/gnuradio-examples/python/hier/networking/audio_sink.py index 116a848150..e59d50834a 100755 --- a/gnuradio-examples/python/hier/networking/audio_sink.py +++ b/gnuradio-examples/python/hier/networking/audio_sink.py @@ -50,12 +50,9 @@ if __name__ == '__main__': top_block = audio_sink(options.src_name, options.src_port, options.packet_size, options.sample_rate) - # Create an instance of a runtime, passing it the top block - runtime = gr.runtime(top_block) - try: # Run forever - runtime.run() + top_block.run() except KeyboardInterrupt: # Ctrl-C exits pass |