Midi in sdl_mixer

How does SDL_MIXER play MIDI in Linux and Windows? How to check where it is in the code? Can native_midi be used without sdl_mixer?

1 Like

I tried to compile native_midi_win32.c included in SDL_mixer. I get errors like:
C:\Users\User\AppData\Local\Temp\ccAQGA4i.o:native_midi_win32.c:(.text+0x64): undefined reference to `midiOutUnprepareHeader@12’

What could be the reason ?
The definition of midiOutUnprepareHeader is probably in the included mmsystem.h…