audio: Fix signature of MediaTransport.Acquire method
Luiz Augusto von Dentz
maintainerPATCH 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
@@ -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
Johan Hedberg
AppliedHi 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