diff options
author | Jan Cholasta | 2020-02-11 17:22:08 +0100 |
---|---|---|
committer | Jan Cholasta | 2020-02-12 19:33:13 +0100 |
commit | 43a2f4027c34a5d224031eb84563846a206643dc (patch) | |
tree | dc3e9abdc01fefcfa07709abf1ecbe71e8f61062 /0001-Use-correct-soundfont-path.patch | |
download | aur-43a2f4027c34a5d224031eb84563846a206643dc.tar.gz |
zmusic-1.0.0
Diffstat (limited to '0001-Use-correct-soundfont-path.patch')
-rw-r--r-- | 0001-Use-correct-soundfont-path.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/0001-Use-correct-soundfont-path.patch b/0001-Use-correct-soundfont-path.patch new file mode 100644 index 000000000000..943ab0748c14 --- /dev/null +++ b/0001-Use-correct-soundfont-path.patch @@ -0,0 +1,25 @@ +From 174eb60580c9ffedad91951eefe65a517e040d4e Mon Sep 17 00:00:00 2001 +From: Jan Cholasta <jan@cholasta.net> +Date: Tue, 11 Feb 2020 14:26:04 +0100 +Subject: [PATCH] Use correct soundfont path + +--- + source/mididevices/music_fluidsynth_mididevice.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/source/mididevices/music_fluidsynth_mididevice.cpp b/source/mididevices/music_fluidsynth_mididevice.cpp +index 675b4f9..8a11198 100644 +--- a/source/mididevices/music_fluidsynth_mididevice.cpp ++++ b/source/mididevices/music_fluidsynth_mididevice.cpp +@@ -644,7 +644,7 @@ void Fluid_SetupConfig(const char* patches, std::vector<std::string> &patch_path + // The following will only be used if no soundfont at all is provided, i.e. even the standard one coming with GZDoom is missing. + #ifdef __unix__ + // This is the standard location on Ubuntu. +- Fluid_SetupConfig("/usr/share/sounds/sf2/FluidR3_GS.sf2:/usr/share/sounds/sf2/FluidR3_GM.sf2", patch_paths, false); ++ Fluid_SetupConfig("/usr/share/soundfonts/FluidR3_GS.sf2:/usr/share/soundfonts/FluidR3_GM.sf2", patch_paths, false); + #endif + #ifdef _WIN32 + // On Windows, look for the 4 megabyte patch set installed by Creative's drivers as a default. +-- +2.25.0 + |