2012-05-11 11:02:56

by Vani-dineshbhai PATEL X

[permalink] [raw]
Subject: [PATCH BlueZ 2/4] AVRCP: Get media transport DBus connection

From: Vani Patel <[email protected]>

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(-)
mode change 100644 => 100755 audio/transport.c
mode change 100644 => 100755 audio/transport.h

diff --git a/audio/transport.c b/audio/transport.c
old mode 100644
new mode 100755
index 7bf7309..6ea0748
--- 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
old mode 100644
new mode 100755
index 1f86cde..94dbb69
--- 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



2012-05-14 10:19:59

by Vani-dineshbhai PATEL X

[permalink] [raw]
Subject: RE: [PATCH BlueZ 2/4] AVRCP: Get media transport DBus connection

Hi Gustavo,

> -----Original Message-----
> From: Gustavo Padovan [mailto:[email protected]]
> Sent: Friday, May 11, 2012 9:45 PM
> To: Vani-dineshbhai PATEL X
> Cc: User Name
> Subject: Re: [PATCH BlueZ 2/4] AVRCP: Get media transport DBus
> connection
>
> Hi Vani,
>
> * Vani <[email protected]> [2012-05-11 16:32:56 +0530]:
>
> > From: Vani Patel <[email protected]>
> >
> > 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(-)
> > mode change 100644 => 100755 audio/transport.c
> > mode change 100644 => 100755 audio/transport.h
>
> You changed the mode of the file, please fix this.
>
> Gustavo
My Mistake, Fixed this in v2 patch.

- Vani

2012-05-11 16:14:47

by Gustavo Padovan

[permalink] [raw]
Subject: Re: [PATCH BlueZ 2/4] AVRCP: Get media transport DBus connection

Hi Vani,

* Vani <[email protected]> [2012-05-11 16:32:56 +0530]:

> From: Vani Patel <[email protected]>
>
> 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(-)
> mode change 100644 => 100755 audio/transport.c
> mode change 100644 => 100755 audio/transport.h

You changed the mode of the file, please fix this.

Gustavo