Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
8ae0408e
Commit
8ae0408e
authored
2 years ago
by
Konstantin A. Lepikhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.23.8-alt3
- fluidsynth: fix sound font path.
parent
b9892701
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
3 deletions
+45
-3
mpd-0.23.8-alt-fluidsynth-fix-sound-font-location.patch
...r/mpd-0.23.8-alt-fluidsynth-fix-sound-font-location.patch
+39
-0
mpd.spec
.gear/mpd.spec
+6
-3
No files found.
.gear/mpd-0.23.8-alt-fluidsynth-fix-sound-font-location.patch
0 → 100644
View file @
8ae0408e
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
This diff is collapsed.
Click to expand it.
.gear/mpd.spec
View file @
8ae0408e
...
...
@@ -68,7 +68,7 @@
Name: mpd
Version: 0.23.8
Release: alt
2
Release: alt
3
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.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment