6 Feb
2024
6 Feb
'24
1:31 p.m.
On Wed Jan 31 16:16:03 2024 +0000, Rémi Bernon wrote:
I'd suggest to move this helper to the miditrack.c file so that everything MIDI-file related lives there. This could be a `create_midi_tracks_from_stream` helper that the segment would call, getting an array of track pointers, or `enum_midi_tracks_in_stream` with a callback and user pointer that would call back into a segment helper to append the tracks, whatever is simpler. but `parse_midi` doesn't create a midi "track". i want all midi stuff to be in one file too, but hesitated on this one technicality.
guess i will just rename `miditrack.c` to `midi.c`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4982#note_60216