Re: [Jack-Devel] Proposal: JACK MIDI API extension for system exclusive messages
Le 1 avr. 2011 à 09:34, Devin Anderson a écrit :
> 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
I guess I would help to understand the new API if you provide some "pseudo" example of a JACK client using it.
Stéphane
1301644819.27203_0.ltw:2,a <DC50D283-3319-41EA-9969-76856E0FF726 at grame dot fr>