mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
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:
parent
9357bdf4e7
commit
103897a1e3
3 changed files with 95 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue