>By the way, I remember talks around here or jack's mailing list on the
>issue of non constant frame number passed to the process callback... I
>don't remember if anything was decided, but i was thinking it would be
>nice to leave it bounded but non-constant, just for being able to
>design an app like this:

it has always been bounded by the value returned from
jack_get_buffer_size() (and/or passed to a registered buffer size
change callback).

>  core_process(...) 
>  {
>    /* get midi input events */
>    foreach event in event_list {
>      process(/* zone spawned until event */);
>      handle_event(event);
>    }
>  }

thats the way to handle MIDI *input*. it doesn't really apply to
output, though it would work there too.

--p

Reply via email to