Re: [LAD] making sense of Jack MIDI; or, is this an appropriate use for Jack?

From: Harry van Haaren <harryhaaren@email-addr-hidden>
Date: Sun Feb 17 2013 - 23:45:58 EET

On Sun, Feb 17, 2013 at 9:20 PM, Paul Coccoli <pcoccoli@email-addr-hidden> wrote:

> JACK ringbuffers are
> ideally suited to passing simple types (like floats), and not vairable
> sized things (like different derived Event classes). Your enum for
> event types is a bit of a red flag, too. While its perfectly valid,
> "type flags" like this more often than not accompany inflexible,
> tightly coupled code (which may be fine in a small audio app, but few
> apps stay small).
>

Apologies, forgot this section:
Yes indeed all "Event" types will be contained in a single enum, and hence
adding / removing
events will cause a recompile. While unfortunate, I don't know how to go
about making this
cleaner. #define's anybody?

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Feb 18 00:15:05 2013

This archive was generated by hypermail 2.1.8 : Mon Feb 18 2013 - 00:15:05 EET