ZDoom / ZMusic

GZDoom's music system as a standalone library
https://forum.zdoom.org/index.php
60 stars 32 forks source link

fix: gus emulation not falling back to fluidsynth when no patches are… #44

Closed emawind84 closed 1 year ago

emawind84 commented 1 year ago

… found and a valid dmxgus lump is provided

If we load the instruments config without patches the gus emulation will not fall back to fluidsynth and no music will play. How to replicate the issue:

  1. set midi_dmxgus=true
  2. select Gus Emulation as midi device
  3. remove any path from section SoundfontSearch.Directories (we prevent auto selection of patches)
  4. ULTRADIR and gus_patchdir should not be present
emawind84 commented 1 year ago

I will do some more test on QuestZDoom and LZDoom to make sure I didn't add any futher bugs, but these changes seems to fix the problem on these two ports