Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package QMPlay2 for openSUSE:Factory checked 
in at 2023-02-09 16:23:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/QMPlay2 (Old)
 and      /work/SRC/openSUSE:Factory/.QMPlay2.new.4462 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "QMPlay2"

Thu Feb  9 16:23:05 2023 rev:69 rq:1063926 version:23.02.05

Changes:
--------
--- /work/SRC/openSUSE:Factory/QMPlay2/QMPlay2.changes  2023-02-05 
19:20:41.895728815 +0100
+++ /work/SRC/openSUSE:Factory/.QMPlay2.new.4462/QMPlay2.changes        
2023-02-09 16:23:05.574677705 +0100
@@ -1,0 +2,5 @@
+Thu Feb  9 01:23:42 UTC 2023 - Simon Vogl <simon.v...@gmx.net>
+
+- Added 0001-fix-mono-playback.patch to fix pipewire mono playback
+
+-------------------------------------------------------------------

New:
----
  0001-fix-mono-playback.patch

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

Other differences:
------------------
++++++ QMPlay2.spec ++++++
--- /var/tmp/diff_new_pack.S500Cm/_old  2023-02-09 16:23:06.018679992 +0100
+++ /var/tmp/diff_new_pack.S500Cm/_new  2023-02-09 16:23:06.022680013 +0100
@@ -28,6 +28,8 @@
 Source:         
https://github.com/zaps166/QMPlay2/releases/download/%{version}/QMPlay2-src-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE
 Patch1:         0001-add-opensuse-customizations.patch
+# PATCH-FIX-UPSTREAM
+Patch2:         0001-fix-mono-playback.patch
 BuildRequires:  cmake >= 3.16
 BuildRequires:  gcc-c++
 # Use gcc 11 for openSUSE Leap 15.4+ and SLE15SP4+

++++++ 0001-fix-mono-playback.patch ++++++
>From a9e317f992b415ed79674489f9709b96cd9d329d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?B=C5=82a=C5=BCej=20Szczygie=C5=82?= <spa...@wp.pl>
Date: Mon, 6 Feb 2023 18:10:02 +0100
Subject: [PATCH] PipeWire: Fix mono playback

Amends: 9ba667080b080761a03921e93a66bef5f5eefb9d
---
 src/modules/PipeWire/PipeWireWriter.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/modules/PipeWire/PipeWireWriter.cpp 
b/src/modules/PipeWire/PipeWireWriter.cpp
index 1ed3ce85..d8667f9f 100644
--- a/src/modules/PipeWire/PipeWireWriter.cpp
+++ b/src/modules/PipeWire/PipeWireWriter.cpp
@@ -425,6 +425,11 @@ void PipeWireWriter::recreateStream()
             SPA_AUDIO_CHANNEL_SR,
         }
     };
+    if (m_chn == 1)
+    {
+        for (int i = 0; i < 8; ++i)
+            info.position[i] = SPA_AUDIO_CHANNEL_MONO;
+    }
 
     const spa_pod *params[2];
     params[0] = spa_format_audio_raw_build(

Reply via email to