summaryrefslogtreecommitdiff
path: root/templates/flumotion/default/soundcard.xml
blob: 23df8a43f130b0ad0c8a28ba871dc57a8ecd6862 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
    <component name="{{ name }}_raw"
               type="soundcard-producer"
               label="{{ component.desc }} (raw)"
               worker="{{ component.worker }}"
               project="flumotion"
               version="{{ globals.version }}">
%% for name, value in component.properties.items()
        <property name="{{ name }}">{{ value }}</property>
%% endfor
        <clock-master>{{ component.master }}</clock-master>
    </component>

    <component name="{{ name }}"
               type="pipeline-converter"
               label="{{ component.desc }} (normalized)"
               worker="{{ component.worker }}"
               project="flumotion"
               version="{{ globals.version }}">
        <eater name="default">
          <feed alias="default">{{ name }}_raw</feed>
        </eater>
        <property name="pipeline">audioconvert ! audio/x-raw-int,rate=(int)48000,width=16,depth=16,channels=2</property>
        <clock-master>false</clock-master>
    </component>