Re: [Jack-Devel] Proposal: JACK MIDI API extension for system exclusive messages

PrevNext  Index
DateFri, 01 Apr 2011 00:34:02 -0700
From Devin Anderson <[hidden] at charityfinders dot com>
ToJack devel <[hidden] at lists dot jackaudio dot org>
In-Reply-ToDevin Anderson [Jack-Devel] Proposal: JACK MIDI API extension for system exclusive messages
Follow-UpStéphane Letz Re: [Jack-Devel] Proposal: JACK MIDI API extension for system exclusive messages
On Thu, Mar 31, 2011 at 1:13 AM, Devin Anderson
<[hidden]> wrote:

>    typedef struct _jack_midi_event {
>        jack_nframes_t time;
>        size_t size;
>        union {
>            jack_midi_data_t *buffer;
>            const jack_midi_stream_t *stream;
>        };
>    } jack_midi_event_t;

I forgot to mention that while my message in August suggested the
above, the proposal I'm making would actually have the definition of
'jack_midi_event_t' changed to:

typedef struct _jack_midi_event {
    jack_nframes_t time;
    size_t size;
    union {
        jack_midi_data_t *buffer;
        const jack_midi_blob_t *blob;
    };
} jack_midi_event_t;

... where it's still the case that (size == 0) to indicate that the
event contains a blob object.

Just clarifying in case that confused anyone.

-- 
Devin Anderson
devin (at) charityfinders (dot) com

CharityFinders - http://www.charityfinders.com/
synthclone - http://synthclone.googlecode.com/
PrevNext  Index

1301643257.24099_0.ltw:2,a <AANLkTikD6VnDTANmfRPon=qKKvCUqXtJDXVODFU_5-zw at mail dot gmail dot com>