[LAU] Jack ringbuffer question

Paul Davis paul at linuxaudiosystems.com
Thu Dec 3 22:52:02 UTC 2015


On Thu, Dec 3, 2015 at 5:46 PM, Will Godfrey <willgodfrey at musically.me.uk>
wrote:

> If I bracket the write call with a mutex to protect the data block from
> corruption as it's actually being written does that interfere with the read
> operation?
>
> Presumably this needs to compare the write pointer with the read one to
> find
> out if there is anything to read.
>

(1) wrong mailing list
(2) the point of using ringbuffers is to avoid using a mutex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20151203/c6c204af/attachment.html>


More information about the Linux-audio-user mailing list