On Tue, 2012-04-17 at 10:17 +0200, Peter Meerwald wrote:
> Hello Tanu,
> 
> can you please have a look at below patch/bug report?
> 
> I'm trying to move a stream from one device to another using dbus; I 
> think the parameter types do not match between the API and the C 
> implementation

The patch is good. I'll push it today when I get home. Thanks!

-- 
Tanu

> ---------- Forwarded message ----------
> Date: Fri,  6 Apr 2012 11:44:57 +0200
> From: Peter Meerwald <[email protected]>
> Reply-To: General PulseAudio Discussion
>     <[email protected]>
> To: General PulseAudio Discussion <[email protected]>
> Cc: Peter Meerwald <[email protected]>
> Subject: [pulseaudio-discuss] [PATCH] dbus: fix dbus argument type in
>     iface-stream.c handle_move()
> 
> From: Peter Meerwald <[email protected]>
> 
> BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=48376
> Signed-off-by: Peter Meerwald <[email protected]>
> ---
>  src/modules/dbus/iface-stream.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/modules/dbus/iface-stream.c b/src/modules/dbus/iface-stream.c
> index ecd0ff3..c6dc1c9 100644
> --- a/src/modules/dbus/iface-stream.c
> +++ b/src/modules/dbus/iface-stream.c
> @@ -611,7 +611,7 @@ static void handle_move(DBusConnection *conn, DBusMessage 
> *msg, void *userdata)
>      pa_assert(msg);
>      pa_assert(s);
>  
> -    pa_assert_se(dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &device, 
> DBUS_TYPE_INVALID));
> +    pa_assert_se(dbus_message_get_args(msg, NULL, DBUS_TYPE_OBJECT_PATH, 
> &device, DBUS_TYPE_INVALID));
>  
>      if (s->type == STREAM_TYPE_PLAYBACK) {
>          pa_sink *sink = pa_dbusiface_core_get_sink(s->core, device);

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to