summaryrefslogtreecommitdiff
path: root/grc/blocks/gr_file_sink.xml
diff options
context:
space:
mode:
authorMarcus D. Leech2012-04-18 08:55:45 -0700
committerJohnathan Corgan2012-04-18 08:57:11 -0700
commitc954791fe78c2ab669cca9bbc4817a278910e1e1 (patch)
treebf726e550555c5121472b4a2a194611d6a3dcaac /grc/blocks/gr_file_sink.xml
parent616e94ebee21a211056449203d3adf3e774e069e (diff)
downloadgnuradio-c954791fe78c2ab669cca9bbc4817a278910e1e1.tar.gz
gnuradio-c954791fe78c2ab669cca9bbc4817a278910e1e1.tar.bz2
gnuradio-c954791fe78c2ab669cca9bbc4817a278910e1e1.zip
grc: add callback for changing file name in sinks
Diffstat (limited to 'grc/blocks/gr_file_sink.xml')
-rw-r--r--grc/blocks/gr_file_sink.xml1
1 files changed, 1 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>