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>
This commit is contained in:
Juho Hämäläinen 2012-11-20 08:30:22 +02:00 committed by Tanu Kaskinen
parent 968c9c45ac
commit 868158f115

View 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] = {