mirror of
https://github.com/scummvm/scummvm.git
synced 2025-04-02 10:52:32 -04:00
Type 1 SMF files consist of multiple tracks that are to be played simultaneously in parallel. Support for this was previously implemented by merging these tracks into one single track, then treating the result as a regular type 0 SMF file. This commit adds full support for type 1 files. The parallel tracks are loaded as subtracks of the parent track and played simultaneously in real time. This allows for support of MIDI formats with parallel subtracks that do not use the SMF format (Dark Seed floppy version) or that jump to offsets within each parallel subtrack (Origin MIDI). |
||
---|---|---|
.. | ||
decoders | ||
drivers | ||
audio.cpp | ||
audio.h | ||
audio32.cpp | ||
audio32.h | ||
midiparser_sci.cpp | ||
midiparser_sci.h | ||
music.cpp | ||
music.h | ||
soundcmd.cpp | ||
soundcmd.h | ||
sync.cpp | ||
sync.h |