diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/softsynth/fluidsynth.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/softsynth/fluidsynth.cpp b/audio/softsynth/fluidsynth.cpp index 47f65f02c8..860bf5b5cb 100644 --- a/audio/softsynth/fluidsynth.cpp +++ b/audio/softsynth/fluidsynth.cpp @@ -183,9 +183,10 @@ int MidiDriver_FluidSynth::open() { const char *soundfont = ConfMan.get("soundfont").c_str(); #if defined(IPHONE_IOS7) && defined(IPHONE_SANDBOXED) - // HACK: Due to the sandbox on non-jailbroken iOS devices, we need to deal with the chroot filesystem. - // All the path selected by the user are relative to the Document directory. So, we need to adjust - // the path to reflect that. + // HACK: Due to the sandbox on non-jailbroken iOS devices, we need to deal + // with the chroot filesystem. All the path selected by the user are + // relative to the Document directory. So, we need to adjust the path to + // reflect that. Common::String soundfont_fullpath = iOS7_getDocumentsDir(); soundfont_fullpath += soundfont; _soundFont = fluid_synth_sfload(_synth, soundfont_fullpath.c_str(), 1); |