]> code.delx.au - pulseaudio/commit
device-manager: Change the prefer/defer options to a single 'reorder' command.
authorColin Guthrie <cguthrie@mandriva.org>
Thu, 1 Oct 2009 00:27:02 +0000 (01:27 +0100)
committerColin Guthrie <cguthrie@mandriva.org>
Thu, 1 Oct 2009 08:08:32 +0000 (09:08 +0100)
commitf9b2d6500b75445b66c83ad1d6700e042f2f8d2a
tree1cb22d2795d603e06ece87dca3fc30292c81dcd5
parent8977abdc840989975d79d041ffcaf48804d7a52b
device-manager: Change the prefer/defer options to a single 'reorder' command.

We put in the devices from the wire into a hashmap and then add all like type device in the database
and then order them based on priority (with the ones specified on the wire always being in that order at
the top of the list.
src/map-file
src/modules/module-device-manager.c
src/pulse/ext-device-manager.c
src/pulse/ext-device-manager.h