summaryrefslogtreecommitdiffstats
path: root/src/pulse/ext-device-manager.h
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-10-01 01:27:02 +0100
committerColin Guthrie <cguthrie@mandriva.org>2009-10-01 09:08:32 +0100
commitf9b2d6500b75445b66c83ad1d6700e042f2f8d2a (patch)
tree1cb22d2795d603e06ece87dca3fc30292c81dcd5 /src/pulse/ext-device-manager.h
parent8977abdc840989975d79d041ffcaf48804d7a52b (diff)
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.
Diffstat (limited to 'src/pulse/ext-device-manager.h')
-rw-r--r--src/pulse/ext-device-manager.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/pulse/ext-device-manager.h b/src/pulse/ext-device-manager.h
index bd52331c..13538f0c 100644
--- a/src/pulse/ext-device-manager.h
+++ b/src/pulse/ext-device-manager.h
@@ -97,18 +97,10 @@ pa_operation *pa_ext_device_manager_enable_role_device_priority_routing(
void *userdata);
/** Prefer a given device in the priority list. \since 0.9.19 */
-pa_operation *pa_ext_device_manager_prefer_device(
+pa_operation *pa_ext_device_manager_reorder_devices_for_role(
pa_context *c,
const char* role,
- const char* device,
- pa_context_success_cb_t cb,
- void *userdata);
-
-/** Defer a given device in the priority list. \since 0.9.19 */
-pa_operation *pa_ext_device_manager_defer_device(
- pa_context *c,
- const char* role,
- const char* device,
+ const char** devices,
pa_context_success_cb_t cb,
void *userdata);