Module: wine
Branch: master
Commit: 8710a1cb0a205bbc9960157116c951aadc79dc13
URL: https://gitlab.winehq.org/wine/wine/-/commit/8710a1cb0a205bbc9960157116c951…
Author: Yuxuan Shui <yshui(a)codeweavers.com>
Date: Thu Feb 15 18:38:11 2024 +0000
dmime: Read through a MIDI file.
Add a dummy track parser, that reads through MIDI tracks and events. To make sure we understand the
file structure correctly, no actual tracks or events are generated.
Also add test cases to make sure we read through a MIDI file correctly.
---
dlls/dmime/midi.c | 136 ++++++++++++++++++++++----
dlls/dmime/tests/dmime.c | 236 ++++++++++++++++++++++++++++++++++++----------
dlls/dmusic/dmusic_midi.h | 3 +
3 files changed, 311 insertions(+), 64 deletions(-)