On Wed, Nov 21, 2012 at 06:54:03PM +0700, Shani Hadiyanto Pribadi wrote:
> jack_midi_event_get(&in_event, midi_buf, event_index);
You should test the return value of jack_midi_event_get().
The contents of in_event are valid only if that is zero,
which means there actually was an event to be read.
A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)
Linux-audio-dev mailing list