From 294a6fd3b811703329eb15ed91d848c65cc6700e Mon Sep 17 00:00:00 2001
From: Tom Rondeau <trondeau@vt.edu>
Date: Sun, 10 Mar 2013 23:52:51 -0400
Subject: blocks: removing file_sink/source file_descriptor_sink/source form
 core and moved all refs to gr-blocks.

---
 gr-audio/examples/python/audio_to_file.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'gr-audio/examples/python/audio_to_file.py')

diff --git a/gr-audio/examples/python/audio_to_file.py b/gr-audio/examples/python/audio_to_file.py
index 3f7a4f8d1c..201ec90bf1 100755
--- a/gr-audio/examples/python/audio_to_file.py
+++ b/gr-audio/examples/python/audio_to_file.py
@@ -22,6 +22,7 @@
 
 from gnuradio import gr
 from gnuradio import audio
+from gnuradio import blocks
 from gnuradio.eng_option import eng_option
 from optparse import OptionParser
 
@@ -47,7 +48,7 @@ class my_top_block(gr.top_block):
 
         sample_rate = int(options.sample_rate)
         src = audio.source (sample_rate, options.audio_input)
-        dst = gr.file_sink (gr.sizeof_float, filename)
+        dst = blocks.file_sink (gr.sizeof_float, filename)
 
         if options.nsamples is None:
             self.connect((src, 0), dst)
-- 
cgit v1.2.3