~ubuntu-branches/ubuntu/precise/gnuradio/precise

« back to all changes in this revision

Viewing changes to grc/blocks/gr_rational_resampler_base_xxx.xml

  • Committer: Bazaar Package Importer
  • Author(s): Kamal Mostafa
  • Date: 2010-03-13 07:46:01 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100313074601-zjsa893a87bozyh7
Tags: 3.2.2.dfsg-1ubuntu1
* Fix build for Ubuntu lucid (LP: #260406)
  - add binary package dep for libusrp0, libusrp2-0: adduser
  - debian/rules clean: remove pre-built Qt moc files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!--
 
3
###################################################
 
4
##Rational Resampler Base
 
5
###################################################
 
6
 -->
 
7
<block>
 
8
        <name>Rational Resampler Base</name>
 
9
        <key>gr_rational_resampler_base_xxx</key>
 
10
        <import>from gnuradio import gr</import>
 
11
        <import>from gnuradio.gr import firdes</import>
 
12
        <make>gr.rational_resampler_base_$(type)($interp, $decim, $taps)</make>
 
13
        <callback>set_taps($taps)</callback>
 
14
        <param>
 
15
                <name>Type</name>
 
16
                <key>type</key>
 
17
                <type>enum</type>
 
18
                <option>
 
19
                        <name>Complex->Complex (Complex Taps)</name>
 
20
                        <key>ccc</key>
 
21
                        <opt>input:complex</opt>
 
22
                        <opt>output:complex</opt>
 
23
                        <opt>taps:complex_vector</opt>
 
24
                </option>
 
25
                <option>
 
26
                        <name>Complex->Complex (Real Taps)</name>
 
27
                        <key>ccf</key>
 
28
                        <opt>input:complex</opt>
 
29
                        <opt>output:complex</opt>
 
30
                        <opt>taps:real_vector</opt>
 
31
                </option>
 
32
                <option>
 
33
                        <name>Float->Complex (Complex Taps)</name>
 
34
                        <key>fcc</key>
 
35
                        <opt>input:float</opt>
 
36
                        <opt>output:complex</opt>
 
37
                        <opt>taps:complex_vector</opt>
 
38
                </option>
 
39
                <option>
 
40
                        <name>Float->Float (Real Taps)</name>
 
41
                        <key>fff</key>
 
42
                        <opt>input:float</opt>
 
43
                        <opt>output:float</opt>
 
44
                        <opt>taps:real_vector</opt>
 
45
                </option>
 
46
                <option>
 
47
                        <name>Float->Short (Real Taps)</name>
 
48
                        <key>fsf</key>
 
49
                        <opt>input:float</opt>
 
50
                        <opt>output:short</opt>
 
51
                        <opt>taps:real_vector</opt>
 
52
                </option>
 
53
                <option>
 
54
                        <name>Short->Complex (Complex Taps)</name>
 
55
                        <key>scc</key>
 
56
                        <opt>input:short</opt>
 
57
                        <opt>output:complex</opt>
 
58
                        <opt>taps:complex_vector</opt>
 
59
                </option>
 
60
        </param>
 
61
        <param>
 
62
                <name>Interpolation</name>
 
63
                <key>interp</key>
 
64
                <value>1</value>
 
65
                <type>int</type>
 
66
        </param>
 
67
        <param>
 
68
                <name>Decimation</name>
 
69
                <key>decim</key>
 
70
                <value>1</value>
 
71
                <type>int</type>
 
72
        </param>
 
73
        <param>
 
74
                <name>Taps</name>
 
75
                <key>taps</key>
 
76
                <type>$type.taps</type>
 
77
        </param>
 
78
        <sink>
 
79
                <name>in</name>
 
80
                <type>$type.input</type>
 
81
        </sink>
 
82
        <source>
 
83
                <name>out</name>
 
84
                <type>$type.output</type>
 
85
        </source>
 
86
</block>