Merged r6171:6186 from jcorgan/fg into trunk.
[debian/gnuradio] / gnuradio-examples / python / hier / networking / audio_sink.py
index 116a848150644fea66ada146134c68394199aaaf..e59d50834acbfa82fab2967e31ecfc28f0a35b32 100755 (executable)
@@ -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