diff -ur prboom-plus-2.6.2/prboom2/src/SDL/i_sound.c prboom-plus-2.6.2-patched/prboom2/src/SDL/i_sound.c --- prboom-plus-2.6.2/prboom2/src/SDL/i_sound.c 2022-02-11 05:28:36.000000000 -0500 +++ prboom-plus-2.6.2-patched/prboom2/src/SDL/i_sound.c 2022-06-05 19:22:31.569463446 -0400 @@ -657,6 +657,7 @@ int audio_channels; int audio_buffers; SDL_AudioSpec audio; + const char *filename; // haleyjd: the docs say we should do this if (SDL_InitSubSystem(SDL_INIT_AUDIO)) @@ -681,6 +682,11 @@ audio_channels = 2; audio_buffers = snd_samplecount * snd_samplerate / 11025; + if (Mix_Init(MIX_INIT_MID) == 0) + lprintf (LO_INFO, "Mix_Init failed\n"); + filename = I_FindFile2(snd_soundfont, ".sf2"); + if (Mix_SetSoundFonts(filename) == 0) + lprintf (LO_INFO, "Mix_SetSoundFonts failed\n"); if (Mix_OpenAudioDevice(audio_rate, MIX_DEFAULT_FORMAT, audio_channels, audio_buffers, NULL, SDL_AUDIO_ALLOW_FREQUENCY_CHANGE) < 0) {