diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2009-09-19 16:13:25 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2009-10-01 09:08:29 +0100 |
commit | 103897a1e33fe83f6ba0b7d521ccc2e36da43881 (patch) | |
tree | 0534cf39ceba66be5c38adb5c58891364d0a6438 /src/pulse/ext-device-manager.h | |
parent | 9357bdf4e7c069e29d2fa403a01a892d80d2d89f (diff) |
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).
Diffstat (limited to 'src/pulse/ext-device-manager.h')
-rw-r--r-- | src/pulse/ext-device-manager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pulse/ext-device-manager.h b/src/pulse/ext-device-manager.h index 33bcbfa8..29d56ba4 100644 --- a/src/pulse/ext-device-manager.h +++ b/src/pulse/ext-device-manager.h @@ -83,6 +83,13 @@ pa_operation *pa_ext_device_manager_delete( 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, int enable, |