midifile: add support for event dump

Make a method to dump event info to stdout.
This commit is contained in:
Wim Taymans 2020-03-01 20:39:07 +01:00
parent 3b1fc4acce
commit 70fc09b891
2 changed files with 246 additions and 0 deletions

View file

@ -60,3 +60,5 @@ int midi_file_next_time(struct midi_file *mf, double *sec);
int midi_file_read_event(struct midi_file *mf, struct midi_event *event);
int midi_file_write_event(struct midi_file *mf, const struct midi_event *event);
int midi_file_dump_event(const struct midi_event *event);