summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
authorBen Reynwar2012-04-30 09:20:59 -0700
committerBen Reynwar2012-04-30 09:20:59 -0700
commit2817cf14147d6da2e7ef051fbbbf8228fd1c07ba (patch)
tree0695ce3bcdbd75784198c28e6cb963c99ae5d0f6 /grc
parente7f45e3c513242706a9e4aa36e99e33e79e66d4f (diff)
parentd7ecbd12be995ad6db7a53a5d6dd3fcb205c07ea (diff)
downloadgnuradio-2817cf14147d6da2e7ef051fbbbf8228fd1c07ba.tar.gz
gnuradio-2817cf14147d6da2e7ef051fbbbf8228fd1c07ba.tar.bz2
gnuradio-2817cf14147d6da2e7ef051fbbbf8228fd1c07ba.zip
Merge branch 'master' of http://gnuradio.org/git/gnuradio
Diffstat (limited to 'grc')
-rw-r--r--grc/blocks/gr_file_sink.xml1
-rw-r--r--grc/blocks/gr_wavfile_sink.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/grc/blocks/gr_file_sink.xml b/grc/blocks/gr_file_sink.xml
index 0081c93f8..d0a693900 100644
--- a/grc/blocks/gr_file_sink.xml
+++ b/grc/blocks/gr_file_sink.xml
@@ -11,6 +11,7 @@
<make>gr.file_sink($type.size*$vlen, $file)
self.$(id).set_unbuffered($unbuffered)</make>
<callback>set_unbuffered($unbuffered)</callback>
+ <callback>open($file)</callback>
<param>
<name>File</name>
<key>file</key>
diff --git a/grc/blocks/gr_wavfile_sink.xml b/grc/blocks/gr_wavfile_sink.xml
index f2c8a009f..651e16cb6 100644
--- a/grc/blocks/gr_wavfile_sink.xml
+++ b/grc/blocks/gr_wavfile_sink.xml
@@ -9,6 +9,7 @@
<key>gr_wavfile_sink</key>
<import>from gnuradio import gr</import>
<make>gr.wavfile_sink($file, $nchan, $samp_rate, $bits_per_sample)</make>
+ <callback>open($file)</callback>
<param>
<name>File</name>
<key>file</key>