1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-23 22:08:26 +02:00

midi2osc: when reporting an unrecognized MIDI event, print its number

This commit is contained in:
Werner Almesberger 2012-02-13 21:26:00 -03:00
parent 2d4a88681d
commit 8e81abd165

View File

@ -146,7 +146,8 @@ static void forward(snd_seq_t *midi, lo_address osc)
default: default:
/* Flickernoise currently doesn't support any others */ /* Flickernoise currently doesn't support any others */
if (debug) if (debug)
fprintf(stderr, "unrecognized MIDI event\n"); fprintf(stderr, "unrecognized MIDI event %u\n",
ev->type);
snd_seq_free_event(ev); snd_seq_free_event(ev);
continue; continue;
} }