]> code.delx.au - pulseaudio/commit
alsa-ucm: Make combination ports have lower priority
authorDavid Henningsson <david.henningsson@canonical.com>
Fri, 19 Jul 2013 14:38:16 +0000 (16:38 +0200)
committerDavid Henningsson <david.henningsson@canonical.com>
Fri, 26 Jul 2013 12:30:08 +0000 (14:30 +0200)
commit908deb136c46c17e5c42fd3a2767746c767d10eb
treee901ba65ea2605c69f7ad21a26a8c2d2d2db520d
parentce21dc4348c787535d7990515d7ccacd4a58e029
alsa-ucm: Make combination ports have lower priority

Usually, you want to use one input or output at a time: e g,
you expect your speaker to mute when you plug in headphones.

Therefore, the headphones+speaker port should have lower priority
and both headphones and speaker.

A practical formula to do this is 1/x = 1/xa + 1/xb + .. + 1/xn.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/alsa/alsa-ucm.c