mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-04 07:15:35 -04:00
tools: move midievent to separate file
This commit is contained in:
parent
1ce85ee2ae
commit
ddc5c17163
7 changed files with 571 additions and 546 deletions
|
|
@ -1172,7 +1172,7 @@ static int midi_play(struct data *d, void *src, unsigned int n_frames, bool *nul
|
|||
midi_file_read_event(d->midi.file, &ev);
|
||||
|
||||
if (d->verbose)
|
||||
midi_file_dump_event(stderr, &ev);
|
||||
midi_event_dump(stderr, &ev);
|
||||
|
||||
size = ev.size;
|
||||
|
||||
|
|
@ -1261,7 +1261,7 @@ static int midi_record(struct data *d, void *src, unsigned int n_frames, bool *n
|
|||
ev.size = c.value.size;
|
||||
|
||||
if (d->verbose)
|
||||
midi_file_dump_event(stderr, &ev);
|
||||
midi_event_dump(stderr, &ev);
|
||||
|
||||
midi_file_write_event(d->midi.file, &ev);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue