[pulseaudio-discuss] module-pipe-source,sink

Arun Raghavan arun.raghavan at collabora.co.uk
Mon May 28 20:35:32 PDT 2012

On Thu, 2012-05-24 at 17:46 +0200, Peter Meerwald wrote:
> Hello,
> I have a couple of issues with module-pipe:
> 1. module-pipe-source and module-pipe-sink do not check the return value 
> ofmkfifo(), hence PulseAudio happily opens the same pipe several times
> I think PulseAudio should check if mkfifo() fails to create the FIFO file 
> and abort -- see suggested patch in next mail

Pulled both your patches.

> 2. documentation at 
> http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules#module-pipe-sink
> incorrectly states that the FIFO of module-pipe-sink defaults to 
> /tmp/music.output, in fact it defaults to /tmp/pulse-xxxxxxxxx/fifo_output
> 3. module-pipe-source defaults to /tmp/music.input (as per documentation), 
> but this is inconsistent with module-pipe-sink

I think a standard location makes more sense than something created with
mkstemp(). Don't know if changing this will break something for existing
users, though.

-- Arun

More information about the pulseaudio-discuss mailing list