mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-05 07:15:34 -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
|
|
@ -50,7 +50,7 @@ static int dump_file(const char *filename)
|
|||
printf("opened %s format:%u ntracks:%u division:%u\n", filename, info.format, info.ntracks, info.division);
|
||||
|
||||
while (midi_file_read_event(file, &ev) == 1) {
|
||||
midi_file_dump_event(stdout, &ev);
|
||||
midi_event_dump(stdout, &ev);
|
||||
}
|
||||
midi_file_close(file);
|
||||
|
||||
|
|
@ -107,7 +107,7 @@ static void on_process(void *_data, struct spa_io_position *position)
|
|||
ev.size = c.value.size;
|
||||
|
||||
fprintf(stdout, "%4d: ", c.offset);
|
||||
midi_file_dump_event(stdout, &ev);
|
||||
midi_event_dump(stdout, &ev);
|
||||
}
|
||||
|
||||
done:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue