* [PATCH Bluez v2 2/4] AVRCP: Get media transport DBus connection
@ 2012-05-14 10:17 Vani
0 siblings, 0 replies; only message in thread
From: Vani @ 2012-05-14 10:17 UTC (permalink / raw)
To: User Name; +Cc: User Name2
From: Vani Patel <vani.patel@stericsson.com>
Defines a function that will return DBus connection
for media transport
---
audio/transport.c | 5 +++++
audio/transport.h | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/audio/transport.c b/audio/transport.c
index 7bf7309..6ea0748 100644
--- a/audio/transport.c
+++ b/audio/transport.c
@@ -1054,3 +1054,8 @@ struct audio_device *media_transport_get_dev(struct media_transport *transport)
{
return transport->device;
}
+
+DBusConnection *media_transport_get_conn(struct media_transport *transport)
+{
+ return transport->conn;
+}
diff --git a/audio/transport.h b/audio/transport.h
index 1f86cde..94dbb69 100644
--- a/audio/transport.h
+++ b/audio/transport.h
@@ -37,3 +37,4 @@ void media_transport_update_delay(struct media_transport *transport,
uint16_t delay);
void transport_get_properties(struct media_transport *transport,
DBusMessageIter *iter);
+DBusConnection *media_transport_get_conn(struct media_transport *transport);
--
1.7.5.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-14 10:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14 10:17 [PATCH Bluez v2 2/4] AVRCP: Get media transport DBus connection Vani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).