summarylogtreecommitdiffstats
path: root/fluidsynth.patch
blob: 4ae3c09393bfde12a4a44913154b0f33d476cb2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/kauai/src/midistreamfluidsynth.cpp b/kauai/src/midistreamfluidsynth.cpp
index 2cebd9c..7c27d41 100644
--- a/kauai/src/midistreamfluidsynth.cpp
+++ b/kauai/src/midistreamfluidsynth.cpp
@@ -169,8 +169,12 @@ bool FMS::_FInit(void)
         ret = fluid_synth_sfload(_flsynth, stnSoundFontPath.Psz(), true);
         if (ret == FLUID_FAILED)
         {
-            Bug("failed to load soundfont");
-            goto LFail;
+            ret = fluid_synth_sfload(_flsynth, "/usr/share/soundfonts/FluidR3_GM.sf2", true);
+            if (ret == FLUID_FAILED)
+            {
+                Bug("failed to load soundfont");
+                goto LFail;
+            }
         }
    }