Opened 6 years ago
Closed 6 years ago
#11233 closed defect (fixed)
BACKENDS: Android - Fluidsynth without soundfont causes app to exit for no apparent reason
| Reported by: | antoniou79 | Owned by: | antoniou79 |
|---|---|---|---|
| Priority: | normal | Component: | Port: Android |
| Version: | Keywords: | Fluidsynth, missing soundfont, abrupt termination | |
| Cc: | Game: |
Description
This happens when launching a game, after choosing Fluidsynth as preferred device (in Audio tab) but not providing any soundfont (in the Midi tab) neither in global options nor in game specific tab.
We should:
- display some warning dialogue
- perhaps fallback to another audio option (like when choosing MT-32 emulation for a game without the proper ROMs or with no support for MT-32)
- return back to launcher menu instead of completely exiting the app
Change History (3)
comment:1 by , 6 years ago
| Summary: | ANDROID: Fluidsynth without soundfont causes app to exit for no apparent reason → BACKENDS: Android - Fluidsynth without soundfont causes app to exit for no apparent reason |
|---|
comment:2 by , 6 years ago
| Priority: | high → normal |
|---|
comment:3 by , 6 years ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

This was never an Android specific issue. It seems that it was just observed on Android first.
The main issue (exit without a warning) is fixed now by commit:
https://github.com/scummvm/scummvm/commit/858954eec1fa7ebbcea5227ee6dbb24672eec453
The issue that remains is that some engines (eg. tested with Beneath a Steel Sky) do not handle the "Music is off" part of the warning.
So for example with Beneath a Steel Sky, you get the warning and then a debugger console with the error "Error: Can't open midi device. Errorcode: 3!" and then the game will exit if you exit the debugger. This is another issue altogether so I'll be opening a new bug ticket about it