On Fri, Dec 9, 2011 at 12:12 PM, Paul Davis <paul(a)linuxaudiosystems.com>wrote;wrote:
On Fri, Dec 9, 2011 at 3:07 PM, Iain Duncan
<iainduncanlists(a)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