Accepting request 898868 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/898868
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pipewire?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2021-06-14 21:10:01 +00:00 committed by Git OBS Bridge
parent 2c1c215188
commit 33aa33d43a
7 changed files with 99 additions and 66 deletions

View File

@ -1,57 +0,0 @@
From e375930813f0b8663ec4ceb6d5ea1850fbbe9695 Mon Sep 17 00:00:00 2001
From: Hui Wang <hui.wang@canonical.com>
Date: Mon, 31 May 2021 13:08:19 +0200
Subject: [PATCH] alsa-mixer: only use switch to mute Front in the Headphone
path
According to the alsa-info.txt in the pipewire issues of #747 and #1206,
the Front Playback Volume is shared by Headphone and Lineout or
Headphone and Speaker, But Headphone, Lineout or Speaker they all have
independent Playback Switch, change to only use switch to mute the
Lineout or Speaker. This could resolve the issues of #747 and #1206.
See #1206 and #747
---
spa/plugins/alsa/mixer/paths/analog-output-headphones-2.conf | 5 ++++-
spa/plugins/alsa/mixer/paths/analog-output-headphones.conf | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/spa/plugins/alsa/mixer/paths/analog-output-headphones-2.conf b/spa/plugins/alsa/mixer/paths/analog-output-headphones-2.conf
index e98fe2537..bda137d3c 100644
--- a/spa/plugins/alsa/mixer/paths/analog-output-headphones-2.conf
+++ b/spa/plugins/alsa/mixer/paths/analog-output-headphones-2.conf
@@ -84,9 +84,12 @@ volume = off
switch = off
volume = off
+; On some machines, the Front Volume Control is shared by Headphone and Lineout,
+; or Headphone and Speaker, but they have independent Volume Switch. Here only
+; use switch to mute Lineout or Speaker.
[Element Front]
switch = off
-volume = off
+volume = zero
[Element Rear]
switch = off
diff --git a/spa/plugins/alsa/mixer/paths/analog-output-headphones.conf b/spa/plugins/alsa/mixer/paths/analog-output-headphones.conf
index ac4ec659a..3c62c5e67 100644
--- a/spa/plugins/alsa/mixer/paths/analog-output-headphones.conf
+++ b/spa/plugins/alsa/mixer/paths/analog-output-headphones.conf
@@ -126,9 +126,12 @@ volume = off
switch = off
volume = off
+; On some machines, the Front Volume Control is shared by Headphone and Lineout,
+; or Headphone and Speaker, but they have independent Volume Switch. Here only
+; use switch to mute Lineout or Speaker.
[Element Front]
switch = off
-volume = off
+volume = zero
[Element Rear]
switch = off
--
GitLab

View File

@ -3,7 +3,7 @@
<service name="obs_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://gitlab.freedesktop.org/pipewire/pipewire.git</param>
<param name="revision">0.3.28</param>
<param name="revision">0.3.30</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5094bf2e35854eb2e7d6b7c41b10d060f520be9dfb33f80e5a9a9d4dee904454
size 8794637

3
pipewire-0.3.30.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e999b5d42cc84bc358b9be9ce1c9bf9baefad7f8a4476342d0c2b6df98ce72aa
size 9365005

View File

@ -1,3 +1,92 @@
-------------------------------------------------------------------
Wed Jun 9 10:11:38 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
- Update to 0.3.30
* This is a quick emergency release to fix some severe
problems with the previous release.
* Highlights
- Recording from a monitor port should work again.
- JACK applications should now be more stable again.
- Freewheeling should not lock up anymore.
- Fix lockups in many pulseaudio apps.
- module-echo-cancel was implemented in pipewire-pulse
- Many other stability fixes.
* PipeWire
- Improve module path logic.
- Improve logger formatting
* PulseAudio server
- Make sure to pass 64 bits values for time on ARM 32 bits to
avoid protocol errors.
- Avoid a crash when unloading module-combine-sink.
- Avoid overflow in requested bytes, resulting in stalled
audio.
- Implement module-echo-cancel.
* Bluetooth
- Handle latency parameters instead of failing.
* JACK
- Fix locking in many places to avoid deadlocks and crashes.
- Fix port rename.
- Stop freewheeling correctly instead of deadlocking.
-------------------------------------------------------------------
Thu Jun 3 13:01:45 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
- Update to 0.3.29
* Highlights
- Latency reporting is now implemented.
- Many documentation updates and cleanups.
- module-combine-sink was added to PulseAudio server.
- Better handling of multichannel input profiles.
- Fix 100% volume issue when monitor suspends or profile
changes in some cases.
- Bugfixes and crashes
* PipeWire
- A new module-rt was added to acquire real-time scheduling
priviledges without using RTKit.
- Documentation fixes and updates. Docs are now using a
custom theme.
- There is now a MANDATORY flag on properties that influence
how properties are filtered.
- Filter-chain now parses the LADSPA_PATH correctly when it
contains a colon separated list.
- Move `#pipewire` IRC channel to oftc.net.
- Fix an error where param changes were not emited in all
cases.
- Implement Latency reporting. Latency values are propagated
through the graph so that each node knows the latency to
the output/input device. Synchronization in pw-stream has
been updated to use this.
- Some more upmix cases are added so that LFE, SIDE and REAR
can be generated from a mono channel as well.
- pw-stream and pw-filter will now emit the process event from
the real-time thread in a safe way, potentially avoiding some
of the harder to debug crashes.
- Fix potential stack overflow with serialize_dict.
- Add PIPEWIRE_NO_CONFIG to run without custom config files.
- The WebRTC echo canceler was added. Next versions will
integrate this better.
* PulseAudio server
- module-combine-sink was implemented.
- Fix some segfaults when DBus connections fail.
- Support for listening on IPv6 was added.
- Fix a bug where many flushes could result in requests for too
much data from the client, causing sync, latency and garbled
sound problems after many seeks.
* ALSA
- Also probe input paths for multichannel mappings. This makes
multichannel input ports show up in more cases.
- Fix headphones/front volume issue on some cards.
- Fix max volume issue when profile changes.
- Fix issue with UCM local config that was not available when
the device was opened in the server but the UCM was opened by
the session manager. Fixes alsa 1.2.5 compatibility.
* JACK
- Implement latency reporting with the new Latency params.
- Add BuildRequires: pkgconfig(webrtc-audio-processing)
which is required by the new WebRTC echo canceler.
- Remove patch which is already included:
* 0001-alsa-mixer-only-use-switch-to-mute-Front-in-the-Headphone-path.patch
-------------------------------------------------------------------
Tue Jun 1 07:31:49 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -1,5 +1,5 @@
name: pipewire
version: 0.3.28
mtime: 1621411896
commit: fb55cc4786ce5e78b0987248dd44e54daec77f80
version: 0.3.30
mtime: 1623222851
commit: e857856be7b64d562cdcc01c43933218a68b225e

View File

@ -44,7 +44,7 @@
%bcond_with aptx
Name: pipewire
Version: 0.3.28
Version: 0.3.30
Release: 0
Summary: A Multimedia Framework designed to be an audio and video server and more
License: MIT
@ -53,7 +53,6 @@ URL: https://pipewire.org/
Source0: %{name}-%{version}.tar.xz
Source1: %{name}-rpmlintrc
Source99: baselibs.conf
Patch0: 0001-alsa-mixer-only-use-switch-to-mute-Front-in-the-Headphone-path.patch
BuildRequires: doxygen
BuildRequires: fdupes
@ -104,6 +103,7 @@ BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(vulkan)
BuildRequires: pkgconfig(webrtc-audio-processing)
BuildRequires: pkgconfig(x11)
Requires: %{libpipewire} = %{version}
Requires: %{name}-modules = %{version}
@ -522,6 +522,7 @@ fi
%{_libdir}/pipewire-%{apiver}/libpipewire-module-filter-chain.so
%{_libdir}/pipewire-%{apiver}/libpipewire-module-pulse-tunnel.so
%{_libdir}/pipewire-%{apiver}/libpipewire-module-zeroconf-discover.so
%{_libdir}/pipewire-%{apiver}/libpipewire-module-rt.so
%dir %{_datadir}/alsa-card-profile
%dir %{_datadir}/alsa-card-profile/mixer
%{_datadir}/alsa-card-profile/mixer/*