Opened 4 years ago
Closed 2 weeks ago
#11715 closed defect (fixed)
AUDIO: Games crash on launch with FluidSynth and no soundfont
Reported by: | antoniou79 | Owned by: | elasota |
---|---|---|---|
Priority: | high | Component: | Audio |
Version: | Keywords: | soundfont, FluidSynth, crash, Loom, Beneath a Steel Sky | |
Cc: | Game: |
Description (last modified by )
Before commit:
https://github.com/scummvm/scummvm/commit/858954eec1fa7ebbcea5227ee6dbb24672eec453
games would just exit without a warning if FluidSynth was set as Audio device (Audio Tab) but no soundfont was specified in the Midi tab.
We now have a warning:"FluidSynth requires a 'soundfont' setting. Please specify it in ScummVM GUI on MIDI tab. Music is off"
However at least in the case of SKY engine (Beneath a Steel Sky), that I tested, after the warning is displayed the game shows the debugger console with the error:
ERROR: Can't open midi device. Errorcode: 3!
Exiting the debugger (with "exit" command) exits the game (and ScummVM).
Update (12 Feb 2023):
- The issue still persists on ScummVM 2.8git (latest build from master, on Windows 10)
- On the SCUMM engine, at least on LOOM EGA that I've tested, we get a similar crash, after the warning prompt, but the text for the error is different. In the case of LOOM it is: ERROR: IMuse initialization - Device not available
Change History (5)
comment:1 by , 22 months ago
Component: | Engine: Sky → --Unset-- |
---|---|
Description: | modified (diff) |
Game: | Beneath a Steel Sky |
Keywords: | Loom Beneath a Steel Sky added |
Summary: | SKY: Game crashes on launch when FluidSynth and no soundfont → AUDIO: Games crash on launch with FluidSynth and no soundfont |
comment:2 by , 21 months ago
Component: | --Unset-- → Audio |
---|
comment:3 by , 3 weeks ago
Priority: | normal → high |
---|
Would be good to resolve this for the 2.9.0 release.
comment:5 by , 2 weeks ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in the PR mentioned above
Updated the ticket information and title to include that the crash indeed happens to engines other than SKY as well. This time I've tested with LOOM EGA (English) and ScummVM 2.6git, and got a crash with "ERROR: IMuse initialization - Device not available".
The warning about the missing soundfont and "Music is off" is still displayed.