[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1113778: trixie-pu: package fluidsynth/2.4.4+dfsg-1+deb13u1



Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: fluidsynth@packages.debian.org
Control: affects -1 + src:fluidsynth
User: release.debian.org@packages.debian.org
Usertags: pu

Hi release team,

[ Reason ]

This change fixes a long-standing bug in the fluidsynth daemon that
was fixed in the Debian package just a tad too late to make it into
Trixie.

[ Impact ]

The fluidsynth daemon is misconfigured by upstream to use a wrong
samplerate and buffer size which leads to stuttering and distorted
audio.

[ Tests ]

Users reported that the distortion was fixed after applying the
changed configuration.

[ Risks ]

Well, one system's wrong configuration is the other system's right
configuration. However, when using the fluidsynth daemon on a system
with pipewire, which is the default on a Debian desktop installation,
the configurations will have to match.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]

Set the default samplerate to 48000 and buffer size to 512 in the
service config file (Closes: #1075976, #1105956).

[ Other info ]

Nope, that's it.
diff -Nru fluidsynth-2.4.4+dfsg/debian/changelog fluidsynth-2.4.4+dfsg/debian/changelog
--- fluidsynth-2.4.4+dfsg/debian/changelog	2025-03-17 17:26:20.000000000 +0100
+++ fluidsynth-2.4.4+dfsg/debian/changelog	2025-09-02 15:12:09.000000000 +0200
@@ -1,3 +1,10 @@
+fluidsynth (2.4.4+dfsg-1+deb13u1) trixie; urgency=medium
+
+  * Set the default samplerate to 48000 and buffer size to 512 in the
+    service config file (Closes: #1075976, #1105956).
+
+ -- Fabian Greffrath <fabian@debian.org>  Tue, 02 Sep 2025 15:12:09 +0200
+
 fluidsynth (2.4.4+dfsg-1) unstable; urgency=high
 
   * New upstream version 2.4.4+dfsg
diff -Nru fluidsynth-2.4.4+dfsg/debian/rules fluidsynth-2.4.4+dfsg/debian/rules
--- fluidsynth-2.4.4+dfsg/debian/rules	2025-02-25 09:27:15.000000000 +0100
+++ fluidsynth-2.4.4+dfsg/debian/rules	2025-09-02 15:10:53.000000000 +0200
@@ -31,7 +31,8 @@
 	dh_install
 	mv debian/fluidsynth/etc/default/fluidsynth.conf \
 	   debian/fluidsynth/etc/default/fluidsynth
-	sed -e '/SOUND_FONT/s/#//' \
+	sed -e "/SOUND_FONT\|OTHER_OPTS/s/^#//" \
+	    -e "/OTHER_OPTS/s/'.*'/'-r 48000 -z 512'/" \
 	    -i debian/fluidsynth/etc/default/fluidsynth
 
 override_dh_auto_test:

Reply to: