]> code.delx.au - pulseaudio/commit
role-cork: Make module-role-cork more generic.
authorColin Guthrie <colin@mageia.org>
Mon, 24 Oct 2011 21:35:38 +0000 (23:35 +0200)
committerColin Guthrie <colin@mageia.org>
Tue, 25 Oct 2011 12:01:32 +0000 (14:01 +0200)
commit679b7ef895df7c5375de5d5b8776cd6647bf5862
treefa51ed5d16bb59feae50e2273cb807c9bfde9d20
parent3c5cc345472302b9511c19244b3eceb4a3674d8c
role-cork: Make module-role-cork more generic.

Operate on a list of 'trigger roles' and 'cork roles'. i.e.
react to any stream with a role in the trigger list and apply a
cork to any stream with the a role in the cork list.

The trigger roles default to 'phone' and the cork roles default
to both 'music' and 'video' thus achieving the same functionality
as currently when called without any arguments.
src/modules/module-role-cork.c