diff options
author | Juho Hämäläinen <jusa@hilvi.org> | 2012-11-20 08:30:22 +0200 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2012-11-20 11:57:21 +0200 |
commit | 868158f115e03c14547f475dd2a426b7bb963a08 (patch) | |
tree | 9a314bd0f68cc0f9424f3f1cb7c8894cb405d8ad | |
parent | 968c9c45acff839d6cb560f81d842f4341ea5c0e (diff) |
stream-restore: Add missing method handler argument.
Stream-restore DBus API method argument list is missing last boolean
argument apply_immediately, causing assert to fail in AddEntry handling.
Signed-off-by: Juho Hämäläinen <jusa@hilvi.org>
-rw-r--r-- | src/modules/module-stream-restore.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/modules/module-stream-restore.c b/src/modules/module-stream-restore.c index 228f9021..1166a635 100644 --- a/src/modules/module-stream-restore.c +++ b/src/modules/module-stream-restore.c @@ -230,11 +230,12 @@ enum entry_method_handler_index { ENTRY_METHOD_HANDLER_MAX }; -static pa_dbus_arg_info add_entry_args[] = { { "name", "s", "in" }, - { "device", "s", "in" }, - { "volume", "a(uu)", "in" }, - { "mute", "b", "in" }, - { "entry", "o", "out" } }; +static pa_dbus_arg_info add_entry_args[] = { { "name", "s", "in" }, + { "device", "s", "in" }, + { "volume", "a(uu)", "in" }, + { "mute", "b", "in" }, + { "apply_immediately", "b", "in" }, + { "entry", "o", "out" } }; static pa_dbus_arg_info get_entry_by_name_args[] = { { "name", "s", "in" }, { "entry", "o", "out" } }; static pa_dbus_method_handler method_handlers[METHOD_HANDLER_MAX] = { |