[pulseaudio-discuss] New application using PulseAudio and Simple API question

Lennart Poettering lennart at poettering.net
Wed Jul 11 17:58:31 PDT 2007


On Tue, 05.06.07 12:52, CJ van den Berg (cj at vdbonline.com) wrote:

> On Tue, Jun 05, 2007 at 07:39:26AM +0200, Ed Schouten wrote:
> > When we want to support chroot(), we must open the device before the
> > actual chroot() call and only close the device when shutting down. This
> > is what the OSS module does, for example. When I look at the API of the
> > Simple API, there is no way to change the the pa_sample_spec afterwards.
> 
> Why not just hardlink the pulseaudio socket (ie. /tmp/pulse-${USER}/native 
> or /var/run/pulse/native) into the chroot?

Are you sure you can hardlink sockets?

A bind-mount of the socket should work, though.

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