[pulseaudio-discuss] get x11.xid

Lennart Poettering lennart at poettering.net
Sun May 24 15:55:56 PDT 2009


On Mon, 25.05.09 09:43, Jason Taylor (killerkiwi2005 at gmail.com) wrote:

> Is there any way to reliably get an Xid for a sink_input_info or client ?
> 
> I see that proplist has it listed as
> PA_PROP_WINDOW_X11_XID<http://0pointer.de/lennart/projects/pulseaudio/doxygen/proplist_8h.html#cffcfbc6e950bd892da9e93ceac66ac0>
>    "window.x11.xid"
> 
> But it dosn't seem to be set ie for Banshee I get

It depends on the application to set this property. And most
applications simply don't. One of the problems here is that Gstreamer
doesn't really have an API to attach a stream to a window. Would be
good if it had.

Sound events generated from libcanberra do set this property in most
cases.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list