summaryrefslogtreecommitdiff
path: root/grc/blocks
diff options
context:
space:
mode:
authorJohnathan Corgan2010-07-05 11:36:26 -0500
committerJohnathan Corgan2010-07-05 11:36:26 -0500
commit8a4ef7ce3c1028454a357b38b1ddb0af0b54d604 (patch)
tree972a7fac43cb32b3f436c3ac5b79e7a235b50146 /grc/blocks
parent95027c952aa1b8bca0d6795071f7b375d69350d0 (diff)
parent277e1c0a0881b359f9d597e1cb6a4e3725356387 (diff)
downloadgnuradio-8a4ef7ce3c1028454a357b38b1ddb0af0b54d604.tar.gz
gnuradio-8a4ef7ce3c1028454a357b38b1ddb0af0b54d604.tar.bz2
gnuradio-8a4ef7ce3c1028454a357b38b1ddb0af0b54d604.zip
Merge branch 'patches/marcus/file_sink'
Diffstat (limited to 'grc/blocks')
-rw-r--r--grc/blocks/gr_file_sink.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/grc/blocks/gr_file_sink.xml b/grc/blocks/gr_file_sink.xml
index 880dc2759..0081c93f8 100644
--- a/grc/blocks/gr_file_sink.xml
+++ b/grc/blocks/gr_file_sink.xml
@@ -8,7 +8,9 @@
<name>File Sink</name>
<key>gr_file_sink</key>
<import>from gnuradio import gr</import>
- <make>gr.file_sink($type.size*$vlen, $file)</make>
+ <make>gr.file_sink($type.size*$vlen, $file)
+self.$(id).set_unbuffered($unbuffered)</make>
+ <callback>set_unbuffered($unbuffered)</callback>
<param>
<name>File</name>
<key>file</key>
@@ -51,6 +53,21 @@
<value>1</value>
<type>int</type>
</param>
+ <param>
+ <name>Unbuffered</name>
+ <key>unbuffered</key>
+ <value>False</value>
+ <type>bool</type>
+ <option>
+ <name>Off</name>
+ <key>False</key>
+ </option>
+ <option>
+ <name>On</name>
+ <key>True</key>
+ </option>
+ </param>
+
<check>$vlen &gt; 0</check>
<sink>
<name>in</name>