[LAD] opinions wanted on a couple of architecture questions

Iain Duncan iainduncanlists at gmail.com
Fri Dec 9 20:23:06 UTC 2011


On Fri, Dec 9, 2011 at 12:12 PM, Paul Davis <paul at linuxaudiosystems.com>wrote:

> On Fri, Dec 9, 2011 at 3:07 PM, Iain Duncan <iainduncanlists at gmail.com>
> wrote:
>
> > Oops, perhaps I missed the boat on the ringbuffer, is the whole point
> that
> > with a ring buffer the memory for the max number of messages is
> > pre-allocated and we can just call by value in and out of the ringbuffer
> > without any memory management?
>
> correct.
>

Thanks. Does it make any difference who owns the ringbuffer? or is it cool
to just make them first from main and pass references in to the
constructors of whatever will use them?

iain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20111209/0bae5966/attachment.html>


More information about the Linux-audio-dev mailing list