<div class="gmail_quote"><br><div class="gmail_quote"><div>On Sun, Feb 17, 2013 at 9:20 PM, Paul Coccoli <span dir="ltr"><<a href="mailto:pcoccoli@gmail.com" target="_blank">pcoccoli@gmail.com</a>></span> wrote:<br></div>
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
JACK ringbuffers are<br>
ideally suited to passing simple types (like floats), and not vairable<br>
sized things (like different derived Event classes).  Your enum for<br>
event types is a bit of a red flag, too.  While its perfectly valid,<br>
"type flags" like this more often than not accompany inflexible,<br>
tightly coupled code (which may be fine in a small audio app, but few<br>
apps stay small).<br></blockquote><div><br>Apologies, forgot this section:<br>Yes indeed all "Event" types will be contained in a single enum, and hence adding / removing<br>events will cause a recompile. While unfortunate, I don't know how to go about making this<br>
cleaner. #define's anybody?  <br></div></div></div></div>