----- Original Message -----
From: "Shani Hadiyanto Pribadi"
<shanipribadi(a)gmx.net>
jack_midi_event_get(&in_event, midi_buf, event_index);
if ((*(in_event.buffer) & 0xf0) == 0x90) // Segfault happens here, on
boolean mask operation
{
_note = *(in_event.buffer + 1);
}
jack_midi_event_get may return ENODATA
as explained in {wherever}/include/jack/midiport.h
don't access in_event in that case, there is no data