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
1 changed files with 2 additions and 1 deletions

View File

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