summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-12-12 21:54:21 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-12-12 21:55:44 +0100
commit88bfed02ebb4d311836a84291cfe5b773eaefc46 (patch)
tree8ab43a3605e73725aef0a7ce9f0924dc6f1df02f
parentdacdcf2516ef4520b0bb32fa34837381f65faf30 (diff)
downloadpa-sink-ctl-88bfed02ebb4d311836a84291cfe5b773eaefc46.tar.gz
pa-sink-ctl-88bfed02ebb4d311836a84291cfe5b773eaefc46.tar.bz2
pa-sink-ctl-88bfed02ebb4d311836a84291cfe5b773eaefc46.zip
config: Add some more (generic) priority examples
..and make them default.
-rw-r--r--src/config.ini11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/config.ini b/src/config.ini
index 3d4bc39..5abbb2a 100644
--- a/src/config.ini
+++ b/src/config.ini
@@ -5,6 +5,8 @@
## "match": a pulseaudio property to match against (use pacmd list-sinks)
## "value": the string to compare with
## "priority": ..to assign to matched sink (default 0)
+## Note: Order matters, first matched priority is applied!
+
#[priority 0]
#match=device.product.name
#value=SBx00 Azalia (Intel HDA)
@@ -14,3 +16,12 @@
#match=device.product.name
#value=USB Headset
#priority=1
+
+[priority headset]
+match=device.form_factor
+value=headset
+priority=-1
+[priority filter]
+match=device.class
+value=filter
+priority=-2