scummvm/audio
Lars Sundström f921c6acd9 AUDIO: Fix problem where fluidsynth soundfont could not be loaded
The user can specify a custom soundfont to be used with fluidsynth.
There was previously a hack for the iOS7 backend to get the path to
the document folder where the user can put files in a sandboxed
environment. This hack was removed in commit:
cac0664757

The problem however occurred when creating a FSNode from the full
system path because FSNode uses makeFileNodePath, which already
prepends the root. So the full path is added twice which causes the
fileNode.exists() to fail.

Create the FSNode from the path to the soundfont and check if the
file exist. If so then return the full path.

Cherry-pick of: addbdc13c5
Git conflict manually fixed
2024-03-02 12:06:27 +01:00
..
decoders AUDIO: Fix memory leak in WMA 2023-11-02 11:41:22 +02:00
mods AUDIO: Initialize class variables. CID 1519100 2023-09-19 19:48:56 +02:00
softsynth AUDIO: Fix problem where fluidsynth soundfont could not be loaded 2024-03-02 12:06:27 +01:00
soundfont
adlib.cpp
adlib_ms.cpp ULTIMA/NUVIE: Rework music code 2023-11-09 18:19:25 +01:00
adlib_ms.h ULTIMA/NUVIE: Rework music code 2023-11-09 18:19:25 +01:00
alsa_opl.cpp
audiostream.cpp
audiostream.h
casio.cpp
casio.h
cms.cpp
cms.h
fmopl.cpp AUDIO: Enable dual OPL2 for hardware OPL3 2023-04-27 18:14:24 +02:00
fmopl.h AUDIO: Enable dual OPL2 for hardware OPL3 2023-04-27 18:14:24 +02:00
mididrv.cpp COMMON: Fix memory leak in MidiDriver. PVS-Studio V773 2023-10-30 11:22:10 -07:00
mididrv.h MM: XEEN: Initial MT32/LAPC-1 support 2024-02-17 15:20:37 -08:00
mididrv_ms.cpp
mididrv_ms.h
midiparser.cpp
midiparser.h ULTIMA/NUVIE: Rework music code 2023-11-09 18:19:25 +01:00
midiparser_qt.cpp
midiparser_qt.h
midiparser_smf.cpp
midiparser_smf.h
midiparser_xmidi.cpp
midiplayer.cpp
midiplayer.h
miles.h
miles_adlib.cpp
miles_midi.cpp
mixer.cpp AUDIO: Drain leftover RateConverter buffer data 2023-08-16 20:41:58 +03:00
mixer.h AUDIO: Use inline member initialization in SoundHandle 2023-08-24 21:02:22 +03:00
mixer_intern.h AUDIO: Add rate adjustment functionality to Mixer 2023-05-14 22:04:56 +02:00
module.mk AUDIO: Add support for Impulse Tracker using libmikmod 2023-03-24 23:59:53 +01:00
mpu401.cpp
mpu401.h
mt32gm.cpp AUDIO: Do not crash if MT32 driver is not fully initialized 2023-03-03 23:44:58 +01:00
mt32gm.h
musicplugin.cpp
musicplugin.h
null.cpp AUDIO: Avoid including translations.h in header file 2023-03-17 14:37:50 +01:00
null.h AUDIO: Avoid including translations.h in header file 2023-03-17 14:37:50 +01:00
opl2lpt.cpp AUDIO: Enable dual OPL2 for hardware OPL3 2023-04-27 18:14:24 +02:00
rate.cpp Revert "AUDIO: Optimize case for !inStereo && outStereo" 2023-11-21 15:01:14 +02:00
rate.h Revert "AUDIO: Optimize case for !inStereo && outStereo" 2023-11-21 15:01:14 +02:00
rwopl3.cpp AUDIO: Enable dual OPL2 for hardware OPL3 2023-04-27 18:14:24 +02:00
rwopl3.h
timestamp.cpp
timestamp.h