summaryrefslogtreecommitdiff
path: root/alsaloop/test.sh
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2010-10-06 18:51:29 +0200
committerJaroslav Kysela <perex@perex.cz>2010-10-06 18:51:29 +0200
commit4fe4d22b73dd205521348583f8105de1c155f4a6 (patch)
treeaadc57916d999d2f542029df17941783354489d1 /alsaloop/test.sh
parentad0e562373af1de5e911cf1d5def598a7b6523f2 (diff)
downloadalsa-utils-4fe4d22b73dd205521348583f8105de1c155f4a6.tar.gz
alsaloop: Fix thread handling
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'alsaloop/test.sh')
-rwxr-xr-xalsaloop/test.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/alsaloop/test.sh b/alsaloop/test.sh
index 2033add..bc42480 100755
--- a/alsaloop/test.sh
+++ b/alsaloop/test.sh
@@ -27,8 +27,27 @@ EOF
$DBG ./alsaloop -d --config $CFGFILE
}
+test3() {
+ echo "TEST2"
+cat > $CFGFILE <<EOF
+-C hw:1,0,0 -P dmix:0 --tlatency 50000 --thread 0 \
+ --mixer "name='Master Playback Volume'@name='Master Playback Volume'" \
+ --mixer "name='Master Playback Switch'@name='Master Playback Switch'" \
+ --mixer "name='PCM Playback Volume'"
+-C hw:1,0,1 -P dmix:0 --tlatency 50000 --thread 1
+-C hw:1,0,2 -P dmix:0 --tlatency 50000 --thread 2
+-C hw:1,0,3 -P dmix:0 --tlatency 50000 --thread 3
+-C hw:1,0,4 -P dmix:0 --tlatency 50000 --thread 4
+-C hw:1,0,5 -P dmix:0 --tlatency 50000 --thread 5
+-C hw:1,0,6 -P dmix:0 --tlatency 50000 --thread 6
+-C hw:1,0,7 -P dmix:0 --tlatency 50000 --thread 7
+EOF
+ $DBG ./alsaloop --config $CFGFILE
+}
+
case "$1" in
test1) test1 ;;
test2) test2 ;;
+test3) test3 ;;
*) test1 ;;
esac