Re: [LAD] opinions wanted on a couple of architecture questions

From: Iain Duncan <iainduncanlists@email-addr-hidden>
Date: Fri Dec 09 2011 - 22:23:06 EET

On Fri, Dec 9, 2011 at 12:12 PM, Paul Davis <paul@email-addr-hiddenwrote:

> On Fri, Dec 9, 2011 at 3:07 PM, Iain Duncan <iainduncanlists@email-addr-hidden>
> 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

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sat Dec 10 00:15:04 2011

This archive was generated by hypermail 2.1.8 : Sat Dec 10 2011 - 00:15:04 EET