[pulseaudio-commits] src/modules

Tanu Kaskinen tanuk at kemper.freedesktop.org
Tue Nov 20 02:00:26 PST 2012


 src/modules/module-stream-restore.c |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

New commits:
commit 868158f115e03c14547f475dd2a426b7bb963a08
Author: Juho Hämäläinen <jusa at hilvi.org>
Date:   Tue Nov 20 08:30:22 2012 +0200

    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 at hilvi.org>

diff --git a/src/modules/module-stream-restore.c b/src/modules/module-stream-restore.c
index 228f902..1166a63 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] = {



More information about the pulseaudio-commits mailing list