Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package speech-dispatcher for
openSUSE:Factory checked in at 2024-07-08 19:06:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/speech-dispatcher (Old)
and /work/SRC/openSUSE:Factory/.speech-dispatcher.new.2080 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "speech-dispatcher"
Mon Jul 8 19:06:40 2024 rev:48 rq:1185818 version:0.12.0~rc3
Changes:
--------
--- /work/SRC/openSUSE:Factory/speech-dispatcher/speech-dispatcher.changes
2024-05-23 15:34:38.798279540 +0200
+++
/work/SRC/openSUSE:Factory/.speech-dispatcher.new.2080/speech-dispatcher.changes
2024-07-08 19:06:42.635339626 +0200
@@ -1,0 +2,6 @@
+Fri Jul 5 17:34:04 UTC 2024 - Michael Gorse <[email protected]>
+
+- Add speech-dispatcher-pulseaudio-samples.patch: fix for losing
+ samples with pulseaudio.
+
+-------------------------------------------------------------------
New:
----
speech-dispatcher-pulseaudio-samples.patch
BETA DEBUG BEGIN:
New:
- Add speech-dispatcher-pulseaudio-samples.patch: fix for losing
samples with pulseaudio.
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ speech-dispatcher.spec ++++++
--- /var/tmp/diff_new_pack.VDKgW9/_old 2024-07-08 19:06:43.435368884 +0200
+++ /var/tmp/diff_new_pack.VDKgW9/_new 2024-07-08 19:06:43.435368884 +0200
@@ -60,6 +60,8 @@
Patch0: harden_speech-dispatcherd.service.patch
# PATCH-FIX-UPSTREAM speech-dispatcher-missing-return-vals.patch
Patch1: speech-dispatcher-missing-return-vals.patch
+# PATCH-FIX-OPENSUSE speech-dispatcher-pulseaudio-samples.patch
+Patch2: speech-dispatcher-pulseaudio-samples.patch
# Logrotate file taken from Debian
Source2: speech-dispatcher.logrotate
Source99: baselibs.conf
++++++ speech-dispatcher-pulseaudio-samples.patch ++++++
>From c954bcb6d054ea2f61dfaf15a4b71ef35438235e Mon Sep 17 00:00:00 2001
From: Mike Gorse <[email protected]>
Date: Fri, 5 Jul 2024 12:33:01 -0500
Subject: [PATCH] Revert "pulse: Set prebuf to min_audio_length instead of
tlength"
May not be the right fix for upstream, but this commit can result in losing
audio.
This reverts commit 2ea44ed0c44c4e5ed8987c0c50559cab1fe2c9ee.
---
src/audio/pulse.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/audio/pulse.c b/src/audio/pulse.c
index 12810f67..65776c47 100644
--- a/src/audio/pulse.c
+++ b/src/audio/pulse.c
@@ -554,8 +554,9 @@ static int _pulse_open(spd_pulse_id_t * id, int sample_rate,
/* Set prebuf to one sample so that keys are spoken as soon as typed
rather than delayed until the next key pressed */
buffAttr.maxlength = (uint32_t) - 1;
- buffAttr.tlength = (uint32_t) -1;
- buffAttr.prebuf = (uint32_t) id->pa_min_audio_length * sample_rate *
num_channels * bytes_per_sample / 1000;
+ //buffAttr.tlength = (uint32_t)-1; - this is the default, which causes
key echo to not work properly.
+ buffAttr.tlength = id->pa_min_audio_length * sample_rate * num_channels
* bytes_per_sample / 1000;
+ buffAttr.prebuf = (uint32_t) - 1;
buffAttr.minreq = (uint32_t) - 1;
buffAttr.fragsize = (uint32_t) - 1;
--
2.45.2