summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d10a934fe..e5aeeb031 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>