summaryrefslogtreecommitdiffstats
path: root/src/pulse/ext-device-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* device-manager: Rather than flagging the device as available, just include ↵Colin Guthrie2009-10-101-4/+1
| | | | the sink/source index with PA_INVALID_INDEX meaning unavailable
* device-manager: Change the prefer/defer options to a single 'reorder' command.Colin Guthrie2009-10-011-42/+11
| | | | | | 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.
* device-manager: Expose the priority lists in the protocol extension.Colin Guthrie2009-10-011-1/+30
| | | | Also leave space for 'icon' and 'available' details too, althought currently this info is dummy.
* device-manager: Change the write function to a rename function.Colin Guthrie2009-10-011-31/+9
| | | | | | | The structure itself will contain various bits of info so exposing this fully to the client is a bad idea. By keeping to a rename operation we keep what we do store abstracted from the clients. Also fix some doxy comments.
* device-manager: Provide a method for prefering/defering a device.Colin Guthrie2009-10-011-0/+74
| | | | | | | | | | 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.
* device-manager: Provide a way for clients to enable/disable role-based ↵Colin Guthrie2009-10-011-0/+32
| | | | | | | device-priority routing. The routing logic itself does not yet exist, but the command currently will unload/load module-stream-restore as approriate. (module-stream-restore would conflict with the role-based priority-routing).
* device-manager: Add an untested protocol extension.Colin Guthrie2009-10-011-0/+358
This is effectively copied from the stream restore extension.