summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
authorBrett L. Trotter <blt@webtrotter.com>2012-12-11 21:53:08 -0500
committerTom Rondeau <trondeau@vt.edu>2012-12-11 21:53:08 -0500
commitee53cca50e3f39ddc1d44669c3ea9f0d73d32022 (patch)
tree737f137ce8d5b1f8ddcd740277d96ae2624c8325 /grc
parent9dc29eb8b72fd28f8759cec79debe693cb66ee4e (diff)
core: Patch to file source to allow opening of new files while running.
Addresses issues #352.
Diffstat (limited to 'grc')
-rw-r--r--grc/blocks/gr_file_source.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/blocks/gr_file_source.xml b/grc/blocks/gr_file_source.xml
index fcc7a70401..5f0e16b279 100644
--- a/grc/blocks/gr_file_source.xml
+++ b/grc/blocks/gr_file_source.xml
@@ -9,6 +9,7 @@
<key>gr_file_source</key>
<import>from gnuradio import gr</import>
<make>gr.file_source($type.size*$vlen, $file, $repeat)</make>
+ <callback>open($file, $repeat)</callback>
<param>
<name>File</name>
<key>file</key>