From 88bfed02ebb4d311836a84291cfe5b773eaefc46 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 12 Dec 2011 21:54:21 +0100 Subject: config: Add some more (generic) priority examples ..and make them default. --- src/config.ini | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') 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 -- cgit