On Fri, Dec 9, 2011 at 12:12 PM, Paul Davis <span dir="ltr"><<a href="mailto:paul@linuxaudiosystems.com">paul@linuxaudiosystems.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, Dec 9, 2011 at 3:07 PM, Iain Duncan <<a href="mailto:iainduncanlists@gmail.com">iainduncanlists@gmail.com</a>> wrote:<br>
<br>
> Oops, perhaps I missed the boat on the ringbuffer, is the whole point that<br>
> with a ring buffer the memory for the max number of messages is<br>
> pre-allocated and we can just call by value in and out of the ringbuffer<br>
> without any memory management?<br>
<br>
</div>correct.<br></blockquote><div><br></div><div>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?</div>
<div><br></div><div>iain</div><br>