]> code.delx.au - pulseaudio/commit
switch-on-connect: Add a new module to allow for hotplugged devices to be used by...
authorMichael Terry <michael.terry@canonical.com>
Sun, 3 Apr 2011 12:42:44 +0000 (13:42 +0100)
committerColin Guthrie <colin@mageia.org>
Sun, 3 Apr 2011 12:42:44 +0000 (13:42 +0100)
commit6ed3a7dcc9de81469c5d35a5256e5f50bd48f804
treeea1e28d034397f811a0ca282bcc0351e4a6e89a2
parentc083259464e1e140165795a8bf6e3c0cfcbc64fe
switch-on-connect: Add a new module to allow for hotplugged devices to be used by default.

This module implements a simply policy decision that any newly plugged
in devices should be used.

This is a reasonable approach and paprefs will be updated to allow for
this option to be turned on or off.

This is more or less a stop-gap solution. When priority lists are
implemented in the core, then policy modules may ultimately be
re-engineered to adjust the priority lists rather than doing any of
their own routing per-se.
src/Makefile.am
src/modules/module-switch-on-connect.c [new file with mode: 0644]