blob: aa564026cd17b4cb58aac12af5d75ebcd62281bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
<?xml version="1.0"?>
<!--
###################################################
##Add Block:
## all types, 1 output, 2 to inf inputs
###################################################
-->
<block>
<name>Endian Swap</name>
<key>gr_endian_swap</key>
<import>from gnuradio import gr</import>
<make>gr.endian_swap($type.size)</make>
<param>
<name>IO Type</name>
<key>type</key>
<type>enum</type>
<option>
<name>Complex</name>
<key>complex</key>
<opt>size:8</opt>
</option>
<option>
<name>Int</name>
<key>s32</key>
<opt>size:4</opt>
</option>
<option>
<name>Short</name>
<key>s16</key>
<opt>size:2</opt>
</option>
</param>
<sink>
<name>in</name>
<type>$type</type>
</sink>
<source>
<name>out</name>
<type>$type</type>
</source>
</block>
|