Nevermind, I managed to work around it by using SDLAudioMixer. But I did find one interesting error there.

I've tried a variety of files, and most of them work just fine. But one particular MIDI file won't load properly. It won't load under Delphi's media player either, but it plays just fine in Winamp and Windows Media Player, so I know the MIDI file isn't corrupted.

Is there some esoteric feature of the MIDI specification that just isn't supported by SDL_Sound? In case you'd like to look at the file itself, you can find it here.

EDIT: Oh, and calling Mix_GetError after this fails to load returns a blank string.

Thanks,

Mason