Skip to content

Commit cefae84

Browse files
committed
soundfont lookup (sdl,fluidsynth): fix dfl sf3 path
default path for default-GM.sf3 is in /sf3 subdir, not /sf2
1 parent e5691c9 commit cefae84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/audio/capture/fluidsynth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ get_soundfont()
196196
"/share/soundfonts/default.sf2",
197197
"/share/soundfonts/default.sf3",
198198
"/share/sounds/sf2/default-GM.sf2",
199-
"/share/sounds/sf2/default-GM.sf3", // Ubuntu
199+
"/share/sounds/sf3/default-GM.sf3", // Ubuntu
200200
};
201201
for (size_t i = 0; i < sizeof roots / sizeof roots[0]; ++i) {
202202
for (size_t j = 0;

src/audio/capture/sdl_mixer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ static void try_open_soundfont() {
185185
const char *roots[] = { get_install_root(), "/usr" };
186186
const char *sf_candidates[] = { // without install prefix
187187
"/share/soundfonts/default.sf2", "/share/soundfonts/default.sf3",
188-
"/share/sounds/sf2/default-GM.sf2", "/share/sounds/sf2/default-GM.sf3", // Ubuntu
188+
"/share/sounds/sf2/default-GM.sf2", "/share/sounds/sf3/default-GM.sf3", // Ubuntu
189189
};
190190
for (size_t i = 0; i < sizeof roots / sizeof roots[0]; ++i) {
191191
for (size_t j = 0; j < sizeof sf_candidates / sizeof sf_candidates[0]; ++j) {

0 commit comments

Comments
 (0)