midifile: put some parsed data in the event

Put some of the data we parsed into the event.
This commit is contained in:
Wim Taymans 2020-03-01 20:37:50 +01:00
parent 5498483337
commit 3b1fc4acce
2 changed files with 13 additions and 1 deletions

View file

@ -33,6 +33,15 @@ struct midi_event {
double sec;
uint8_t *data;
uint32_t size;
struct {
uint32_t offset;
uint32_t size;
union {
struct {
uint32_t uspqn; /* microseconds per quarter note */
} tempo;
} parsed;
} meta;
};
struct midi_file_info {