0.23.8-alt3

- fluidsynth: fix sound font path.
parent b9892701
From 4e11cfba8486ece36a7bdc321e92cddabd262acd Mon Sep 17 00:00:00 2001
From: "Konstantin A. Lepikhov" <lakostis@altlinux.ru>
Date: Wed, 20 Jul 2022 10:58:27 +0200
Subject: [PATCH] [ALT] fluidsynth: fix sound font location
---
doc/plugins.rst | 2 +-
src/decoder/plugins/FluidsynthDecoderPlugin.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/plugins.rst b/doc/plugins.rst
index 5216a9b4d..f8d055a5c 100644
--- a/doc/plugins.rst
+++ b/doc/plugins.rst
@@ -411,7 +411,7 @@ MIDI decoder based on `FluidSynth <http://www.fluidsynth.org/>`_.
* - **sample_rate**
- The sample rate that shall be synthesized by the plugin. Defaults to 48000.
* - **soundfont**
- - The absolute path of the soundfont file. Defaults to :file:`/usr/share/sounds/sf2/FluidR3_GM.sf2`.
+ - The absolute path of the soundfont file. Defaults to :file:`/usr/share/soundfonts/default.sf2`.
gme
---
diff --git a/src/decoder/plugins/FluidsynthDecoderPlugin.cxx b/src/decoder/plugins/FluidsynthDecoderPlugin.cxx
index e29fb6958..448884b24 100644
--- a/src/decoder/plugins/FluidsynthDecoderPlugin.cxx
+++ b/src/decoder/plugins/FluidsynthDecoderPlugin.cxx
@@ -81,7 +81,7 @@ fluidsynth_init(const ConfigBlock &block)
CheckSampleRate(sample_rate);
soundfont_path = block.GetBlockValue("soundfont",
- "/usr/share/sounds/sf2/FluidR3_GM.sf2");
+ "/usr/share/soundfonts/default.sf2");
fluid_set_log_function(LAST_LOG_LEVEL,
fluidsynth_mpd_log_function, nullptr);
--
2.33.4
......@@ -68,7 +68,7 @@
Name: mpd
Version: 0.23.8
Release: alt2
Release: alt3
Summary: Music Player Daemon (%Name) allows remote access for playing music and managing playlists
License: %gpl2plus
......@@ -83,7 +83,7 @@ Source3: %name.init.in
Source4: %name.logrotate
Source5: %name.tmpfile
#Patch: %name-%version-%release.patch
Patch: %name-%version-alt-fluidsynth-fix-sound-font-location.patch
BuildRequires(pre): rpm-build-licenses
BuildRequires(pre): rpm-macros-meson
......@@ -162,7 +162,7 @@ This package contains %Name documentation.
%prep
%setup
#%patch -p1
%patch -p1
%build
%add_optflags %(getconf LFS_CFLAGS)
......@@ -276,6 +276,9 @@ install -D -m 0644 %SOURCE4 %buildroot%_sysconfdir/logrotate.d/%name
%endif
%changelog
* Wed Jul 20 2022 L.A. Kostis <lakostis@altlinux.ru> 0.23.8-alt3
- fluidsynth: fix sound font path.
* Sat Jul 16 2022 L.A. Kostis <lakostis@altlinux.ru> 0.23.8-alt2
- merge aris@ .spec changes.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment