[PD] Pd and pulseaudio

Roman Haefeli reduzent at gmail.com
Fri Feb 1 19:25:10 CET 2013


On Fre, 2013-02-01 at 18:43 +0100, IOhannes zmölnig wrote:
> On 02/01/2013 06:29 PM, Miller Puckette wrote:
> > Just to comment on why I ended up un-installing portaudio: I booted my
> > Pi with a clean new Raspbian distro, compiled Pd (after installing some
> > packages like git and alsa libs), ran it and found that pulseaudio was
> > running.  So I exit Pd and likk pulseaudio via "pulseaudio -kill".  Then start
> > Pd and find it _still_ can't open audio.  Why? ell, looking back I found that
> > pulseaudio was running again!  So I re-killed it and tried a third time.
> > Same result: for some reason, the mere act of starting Pd was causing
> > pulseaudio to start itself up and grab the audio device so that Pd couldn't
> > get it.  There are similar plot sequences in old Three Stooges and Marx
> > Brothers movies, but I wasn't exactly laughing.  What if I were about to
> > have to walk on stage with this thing?  So I googled around and read through
> > the many-page man page for pulseaudio and found no explanation of why this
> > was happening, nor any suggestions for how to disable pulseaudio other than
> > the "-kill" command I had already tried.  After a while I lost patience and
> > uninstalled pulse and I suggest that everyone else do so as well.
> >
> 
> 
> since i was just playing around with pulseaudio recently, here some hints:
> 
> - in /etc/pulse/client.conf, you can set "autospawn = no" to prevent 
> pulseaudio from starting again and again.

Alternatively, one can put that into ~/.pulse/client.conf which doesn't
require root and does not get overwritten by any future package updates.

Roman





More information about the Pd-list mailing list