]> code.delx.au - pulseaudio/commitdiff
stream-restore: Add missing method handler argument.
authorJuho Hämäläinen <jusa@hilvi.org>
Tue, 20 Nov 2012 06:30:22 +0000 (08:30 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Tue, 20 Nov 2012 09:57:21 +0000 (11:57 +0200)
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>
src/modules/module-stream-restore.c

index 228f9021e23309ddc6a8fe600fece743c181b726..1166a63583b950ad84476ca3152e790431d30355 100644 (file)
@@ -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] = {