File: bt-dec-launch.sh

package info (click to toggle)
buzztrax 0.10.2-10
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 19,984 kB
  • sloc: ansic: 109,707; sh: 12,875; cpp: 10,882; xml: 6,081; makefile: 508; javascript: 338; asm: 116
file content (36 lines) | stat: -rwxr-xr-x 1,213 bytes parent folder | download | duplicates (6)
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
#!/bin/bash
# Buzztrax
# Copyright (C) 2015 Buzztrax team <buzztrax-devel@buzztrax.org>
#
# run bt-dec gst-launch lines
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, see <http://www.gnu.org/licenses/>.

testPull() {
  gst-launch-1.0 -q filesrc location=$TESTSONGDIR/simple2.xml ! buzztrax-dec ! fakesink sync=false
}

testPush() {
  gst-launch-1.0 -q filesrc location=$TESTSONGDIR/simple2.xml ! queue ! buzztrax-dec ! fakesink sync=false
}

testPlaybin() {
  gst-launch-1.0 -q playbin uri=file://$TESTSONGDIR/simple2.xml audio-sink="fakesink sync=false"
}


# load configuration
. ./tests/bt-cfg.sh
# load shunit2
. $TESTSRCDIR/shunit2