Opened 11 months ago

Closed 2 days 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
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:

  1. display some warning dialogue
  2. 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)
  3. return back to launcher menu instead of completely exiting the app

Change History (3)

comment:1 by raziel-, 2 months ago

Summary: ANDROID: Fluidsynth without soundfont causes app to exit for no apparent reasonBACKENDS: Android - Fluidsynth without soundfont causes app to exit for no apparent reason

comment:2 by sev-, 4 weeks ago

Priority: highnormal

comment:3 by antoniou79, 2 days ago

Owner: set to antoniou79
Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.