[pulseaudio-discuss] Controlling pulseaudio daemon via dbus

Lennart Poettering lennart at poettering.net
Mon May 5 15:23:43 PDT 2008


On Mon, 31.03.08 13:24, Turner, Todd (Todd.Turner at windriver.com) wrote:

> Hi All,
>  
> Are there any plans for a dbus module?   I see that PA uses dbus to
> connect to policy kit, and that there are dbus-util.c file in the
> modules package that appears to be for modules to connect to other
> services like bluetooth or hal, but I am looking for a way for
> applications to send messages to the daemon over dbus.

The thing with D-Bus is that it is not network transparent. While I do
like D-Bus a lot it is thus not really suitable for the PA case. The
native PA APIs are all network transparent, and thus D-Bus is not
really a suitable replacement I would say. And carrying two IPC APIs
around all the time doesn't strike me as a particularly good idea.

Sometime in the far far future I will replace the PA native protocol
by something based on D-Bus-via-TCP together with RTP for the audio
data transfer. But that's something for the future.

Of course, I won't stop you from hacking up a D-Bus module.

Lennart

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



More information about the pulseaudio-discuss mailing list