summaryrefslogtreecommitdiff
path: root/grc/blocks
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2011-06-02 10:40:30 -0400
committerTom Rondeau <trondeau@vt.edu>2011-06-02 10:40:30 -0400
commit297613170b84640c8a91c9a50374385883c837ff (patch)
tree825c66b25408f89acebfcef04e796af457b3cdf1 /grc/blocks
parent9955ef951e213cba02735cc90944cdb0aca49285 (diff)
grc: fixing DC blocker block to handle i/o type.
Diffstat (limited to 'grc/blocks')
-rw-r--r--grc/blocks/gr_dc_blocker.xml30
1 files changed, 16 insertions, 14 deletions
diff --git a/grc/blocks/gr_dc_blocker.xml b/grc/blocks/gr_dc_blocker.xml
index d10a934fe3..e5aeeb0315 100644
--- a/grc/blocks/gr_dc_blocker.xml
+++ b/grc/blocks/gr_dc_blocker.xml
@@ -11,27 +11,29 @@
<make>gr.dc_blocker_$(type)($length, $long_form)</make>
<!-- <callback>set_length($lenght)</callback> -->
<param>
- <name>Length</name>
- <key>length</key>
- <value>32</value>
- <type>int</type>
- </param>
- <param>
<name>Type</name>
<key>type</key>
<type>enum</type>
<option>
- <name>Complex</name>
- <key>complex</key>
- <opt>size:gr.sizeof_gr_complex</opt>
+ <name>Complex->Complex</name>
+ <key>cc</key>
+ <opt>input:complex</opt>
+ <opt>output:complex</opt>
</option>
<option>
- <name>Float</name>
- <key>float</key>
- <opt>size:gr.sizeof_float</opt>
+ <name>Float->Float</name>
+ <key>ff</key>
+ <opt>input:float</opt>
+ <opt>output:float</opt>
</option>
</param>
<param>
+ <name>Length</name>
+ <key>length</key>
+ <value>32</value>
+ <type>int</type>
+ </param>
+ <param>
<name>Long Form</name>
<key>long_form</key>
<value>True</value>
@@ -40,10 +42,10 @@
<sink>
<name>in</name>
- <type>$type</type>
+ <type>$type.input</type>
</sink>
<source>
<name>out</name>
- <type>$type</type>
+ <type>$type.output</type>
</source>
</block>