[pulseaudio-discuss] New application using PulseAudio and Simple API question
Ed Schouten
ed at fxq.nl
Tue Jun 5 04:19:45 PDT 2007
* 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?
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 <ed at fxq.nl>
WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20070605/dac4cb01/attachment.pgp>
More information about the pulseaudio-discuss
mailing list