]> code.delx.au - pulseaudio/commit
device-manager: Provide a method for prefering/defering a device.
authorColin Guthrie <cguthrie@mandriva.org>
Sat, 19 Sep 2009 16:48:10 +0000 (17:48 +0100)
committerColin Guthrie <cguthrie@mandriva.org>
Thu, 1 Oct 2009 08:08:29 +0000 (09:08 +0100)
commitaebe4787f293cc6810c54db751bee7df3a5d1ea2
tree0160298a7d3a402744af28c0f7a9fe82a2b84254
parent95f28393ab413c797e2f16d2caf1f8caf0283b71
device-manager: Provide a method for prefering/defering a device.

This allows clients to edit the priroity order. What is not yet in place is the initialisation of that priority list
when new devices are detected or the cleaning (remove holes) when devices are removed.

In order to keep the storage transparent I will likely remove the write functionality and replace it with a
simple rename method.

I also still need to expose the priority itself when reading the data.
src/modules/module-device-manager.c
src/pulse/ext-device-manager.c
src/pulse/ext-device-manager.h