mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
midifile: put some parsed data in the event
Put some of the data we parsed into the event.
This commit is contained in:
parent
5498483337
commit
3b1fc4acce
2 changed files with 13 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue