Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pulseaudio for openSUSE:Factory 
checked in at 2021-04-23 17:50:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pulseaudio (Old)
 and      /work/SRC/openSUSE:Factory/.pulseaudio.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pulseaudio"

Fri Apr 23 17:50:13 2021 rev:181 rq:887020 version:14.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/pulseaudio/pulseaudio.changes    2021-03-21 
23:19:10.468714603 +0100
+++ /work/SRC/openSUSE:Factory/.pulseaudio.new.12324/pulseaudio.changes 
2021-04-23 17:50:15.914756996 +0200
@@ -1,0 +2,6 @@
+Mon Apr 19 18:45:11 UTC 2021 - Martin Wilck <mwi...@suse.com>
+
+- Really fix recording OGG with parecord (bsc#1183546)
+  parecord-really-fix-recording-OGG.patch
+
+-------------------------------------------------------------------

New:
----
  parecord-really-fix-recording-OGG.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pulseaudio.spec ++++++
--- /var/tmp/diff_new_pack.EbHYxi/_old  2021-04-23 17:50:16.698758344 +0200
+++ /var/tmp/diff_new_pack.EbHYxi/_new  2021-04-23 17:50:16.698758344 +0200
@@ -53,6 +53,7 @@
 # PATCH-FIX-OPENSUSE Workaround for old systemd on Leap 15.x
 Patch6:         pulseaudio-old-systemd-workaround.patch
 Patch7:         parecord-fix-Failed-to-open-audio-file-for-FLAC-and-.patch
+Patch8:                parecord-really-fix-recording-OGG.patch
 # HFP support patches (bsc#1167940)
 Patch101:       0001-bluetooth-use-consistent-profile-names.patch
 Patch102:       0002-bluetooth-separate-HSP-and-HFP.patch
@@ -363,6 +364,7 @@
 %patch6 -p1
 %endif
 %patch7 -p1
+%patch8 -p1
 %patch101 -p1
 %patch102 -p1
 %patch103 -p1

++++++ parecord-really-fix-recording-OGG.patch ++++++
>From d56d5054f8e7b39376440e80ac7348b52e015de3 Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwi...@arcor.de>
Date: Mon, 19 Apr 2021 17:55:28 +0200
Subject: [PATCH] parecord: really fix recording OGG

432a91ed ("fix "Failed to open audio file" for FLAC and OGG)" claimed
to fix recording of OGG files with pacat, but it really fixed only
FLAC. This patch must be added on top to fix OGG, too.

Signed-off-by: Martin Wilck <mwi...@arcor.de>
---
 src/utils/pacat.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/utils/pacat.c b/src/utils/pacat.c
index 31da073bc..39ccaffd0 100644
--- a/src/utils/pacat.c
+++ b/src/utils/pacat.c
@@ -1067,9 +1067,12 @@ int main(int argc, char *argv[]) {
             * Endianness has been set in pa_sndfile_write_sample_spec(), but
             * libsndfile errors out if endianness is set to anything other than
             * SF_ENDIAN_FILE for OGG or FLAC. Clear it.
+            * For OGG, libsndfile accepts only subformat SF_FORMAT_VORBIS.
             */
            if (file_format == SF_FORMAT_OGG || file_format == SF_FORMAT_FLAC)
                    sfi.format = (sfi.format & ~SF_FORMAT_ENDMASK) | 
SF_ENDIAN_FILE;
+           if (file_format == SF_FORMAT_OGG)
+                   sfi.format = (sfi.format & ~SF_FORMAT_SUBMASK) | 
SF_FORMAT_VORBIS;
 
         }
 
-- 
2.26.2

Reply via email to