* CJ van den Berg <[EMAIL PROTECTED]> 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?Because I'd like the application to not require any resources while chroot()'ed. That's also why the application calls res_init() before the chroot()-call, which causes stuff that needs DNS (AudioScrobbler, HTTP audio streams) to Just Work (tm). Yours, -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://g-rave.nl/
pgpD69mtYS1v5.pgp
Description: PGP signature
_______________________________________________ pulseaudio-discuss mailing list [email protected] https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
