New application using PulseAudio and Simple API question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Ed Schouten <ed at fxq.nl> wrote:
> I'm still thinking of a nice way to work around this. Anyway, here's a
> first version of the patch, which also makes the mmap() calls work on
> FreeBSD.

I think it would be a lot better if shared memory (see shm_open(3))
wouldn't be by filename, but by descriptor (with sendmsg(2)). That way
you could immediately unlink the shared memory file after opening, which
will cause PulseAudio to never leak any shared memory buffers (which I
guess it now will when the client/daemon crashes).

I'm not an expert when it comes to hacking around in PulseAudio source
code, so I guess I can't help you folks with this. Please let me know
when such fixes are in the pipeline; I'd love to help you guys/gals test
such stuff. :)

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/ddf77abb/attachment.pgp>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux