Skip to contentSkip to conversation

audio: Fix signature of MediaTransport.Acquire method

PATCH Applied Luiz Augusto von Dentz 2 participants 2 messages Feb 17, 2012 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 audio: Fix signature of MediaTransport.Acquire method

From: Luiz Augusto von Dentz <[email protected]>

Acquire returns the input and output MTUs in addition to the file descriptor, but the signature doesn't indicate that.

---
 audio/transport.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
audio/transport.c +1 -1
index 2092644..b319e0e 100644
@@ -916,7 +916,7 @@ static DBusMessage *get_properties(DBusConnection *conn, DBusMessage *msg,
 
 static GDBusMethodTable transport_methods[] = {
 	{ "GetProperties",	"",	"a{sv}",	get_properties },
-	{ "Acquire",		"s",	"h",		acquire,
+	{ "Acquire",		"s",	"hqq",		acquire,
 						G_DBUS_METHOD_FLAG_ASYNC},
 	{ "Release",		"s",	"",		release,
 						G_DBUS_METHOD_FLAG_ASYNC},
Signature · 1 line
1.7.7.6
#1 lore raw

Hi Luiz,

Quoted 5 lines · Luiz Augusto von Dentz

Acquire returns the input and output MTUs in addition to the file descriptor, but the signature doesn't indicate that.

---
 audio/transport.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied. Thanks.

Johan