]> code.delx.au - pulseaudio/commit
device-restore: Restore volumes on port change.
authorColin Guthrie <colin@mageia.org>
Wed, 24 Aug 2011 21:50:28 +0000 (22:50 +0100)
committerColin Guthrie <colin@mageia.org>
Mon, 29 Aug 2011 08:59:47 +0000 (09:59 +0100)
commita13a402ed3c48d3df52c523edb232bc8c7c9479c
tree6bcb5cfc653399b8de219eb8c91292fddfad1e5b
parent1ee97e57caf34576ba97cf3b6e7b51388442e3c2
device-restore: Restore volumes on port change.

This will allow for volumes to be saved separately for e.g. Headphones vs. Speakers.

At present it is possible that no volume will be saved for the device prior to the port
switch. In this case the volume will not change from the value set under the other port.
In an ideal world we would save the volume before switching port, but that would require
a new hook.
src/modules/module-device-restore.c