device-manager: Provide a way for clients to enable/disable role-based 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).
This commit is contained in:
Colin Guthrie 2009-09-19 16:13:25 +01:00
parent 25f054582f
commit c1ece6ce85
3 changed files with 95 additions and 0 deletions

View file

@ -82,6 +82,13 @@ pa_operation *pa_ext_device_manager_delete(
pa_context_success_cb_t cb,
void *userdata);
/** Subscribe to changes in the device database. \since 0.9.19 */
pa_operation *pa_ext_device_manager_enable_role_device_priority_routing(
pa_context *c,
int enable,
pa_context_success_cb_t cb,
void *userdata);
/** Subscribe to changes in the device database. \since 0.9.19 */
pa_operation *pa_ext_device_manager_subscribe(
pa_context *c,