From f59d1964bab3800730aae754641565750229665c Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 17 Oct 2012 17:47:38 +0200 Subject: added audomatic repeater generation --- templates/example/planet.xml | 5 +++++ templates/example/repeater.xml | 11 +++++++++++ templates/example/soundcard.xml | 17 +++++++++++++++-- 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 templates/example/repeater.xml (limited to 'templates') diff --git a/templates/example/planet.xml b/templates/example/planet.xml index 5ee260d..c1633ee 100644 --- a/templates/example/planet.xml +++ b/templates/example/planet.xml @@ -39,6 +39,11 @@ {% include '%s.xml' % component.type %} {% endfor %} + +{% for name, component in flow['repeater'].items() %} +{% include '%s.xml' % component.type %} +{% endfor %} + {% for name, component in flow['streamer'].items() %} {% include '%s.xml' % component.type %} diff --git a/templates/example/repeater.xml b/templates/example/repeater.xml new file mode 100644 index 0000000..aa469ec --- /dev/null +++ b/templates/example/repeater.xml @@ -0,0 +1,11 @@ + + + {{ component.feeder }} + + false + diff --git a/templates/example/soundcard.xml b/templates/example/soundcard.xml index 07f4c99..23df8a4 100644 --- a/templates/example/soundcard.xml +++ b/templates/example/soundcard.xml @@ -1,6 +1,6 @@ - @@ -9,3 +9,16 @@ %% endfor {{ component.master }} + + + + {{ name }}_raw + + audioconvert ! audio/x-raw-int,rate=(int)48000,width=16,depth=16,channels=2 + false + -- cgit v1.2.3