From ebfcb3db4db5fea929262a14ecf236d73237cafeb392081e4bb863ca46d6b99e Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Tue, 12 Mar 2024 12:22:25 +0000 Subject: [PATCH 1/2] Accepting request 1157175 from home:alarrosa:branches:multimedia:libs:pipewire-1.0 - Update to version 1.0.3+git51.89d8e8b: * module-ffado: make the event buffer per port * module-ffado: handle MIDI correctly * module-ffado: implement MIDI send and receive * module-ffado: various fixes to make things work * stream: add pw_stream_get_nsec() to get current time * jack: fix multiple midi input ports * pw-top: only check terminal size in non-batch mode * Specify "Audio" in gstreamer sink/src metadata to fix autodetect * Add SOC-style jack names to HDMI audio paths * gst: remove timeouts when autoconnect=false * audioconvert: handle invalid ports better * audioconvert: handle port remove * pw_context_parse_conf_section: use the conf argument instead of the context's conf * stream: FORCE_RATE should just contain the rate * jack: FORCE_RATE should just contain the rate * jack: set global_mix safely * jack: sync threads by pausing the core * alsa: Added handle for controlling htimestamp autodisable * And more - Remove patch already merged upstream: * fix-gst-sink.patch - Require pipewire-pulseaudio from pipewire-alsa so when pipewire-alsa is installed, pipewire has audio support (or put in other words, so pipewire-alsa isn't installed with the real pulseaudio). Fixes boo#1221235. - Add patch from upstream submitted at glfo#pipewire/pipewire#1932 that fixes selecting the pipewire gstreamer plugins by the OBS-URL: https://build.opensuse.org/request/show/1157175 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pipewire?expand=0&rev=187 --- _service | 5 ++-- pipewire-1.0.3+git51.89d8e8b.obscpio | 3 ++ pipewire-1.0.3.obscpio | 3 -- pipewire.changes | 42 ++++++++++++++++++++++++++++ pipewire.obsinfo | 6 ++-- pipewire.spec | 18 ++++++++++-- 6 files changed, 67 insertions(+), 10 deletions(-) create mode 100644 pipewire-1.0.3+git51.89d8e8b.obscpio delete mode 100644 pipewire-1.0.3.obscpio diff --git a/_service b/_service index f91f7d9..d3bfee3 100644 --- a/_service +++ b/_service @@ -3,11 +3,12 @@ git https://gitlab.freedesktop.org/pipewire/pipewire.git - 1.0.3 - @PARENT_TAG@ + 1.0 + @PARENT_TAG@+git@TAG_OFFSET@.%h diff --git a/pipewire-1.0.3+git51.89d8e8b.obscpio b/pipewire-1.0.3+git51.89d8e8b.obscpio new file mode 100644 index 0000000..91018b2 --- /dev/null +++ b/pipewire-1.0.3+git51.89d8e8b.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e93400b8681106539e782a39055f742d584124b64d37837ba58d07f99a03949 +size 12568077 diff --git a/pipewire-1.0.3.obscpio b/pipewire-1.0.3.obscpio deleted file mode 100644 index de3bdb6..0000000 --- a/pipewire-1.0.3.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab709313076d865cb51f77d81a92afcf40f99d7a3967f912a2497698db738307 -size 12437517 diff --git a/pipewire.changes b/pipewire.changes index ccb73f7..dba887a 100644 --- a/pipewire.changes +++ b/pipewire.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +Tue Mar 12 11:10:03 UTC 2024 - Antonio Larrosa + +- Update to version 1.0.3+git51.89d8e8b: + * module-ffado: make the event buffer per port + * module-ffado: handle MIDI correctly + * module-ffado: implement MIDI send and receive + * module-ffado: various fixes to make things work + * stream: add pw_stream_get_nsec() to get current time + * jack: fix multiple midi input ports + * pw-top: only check terminal size in non-batch mode + * Specify "Audio" in gstreamer sink/src metadata to fix autodetect + * Add SOC-style jack names to HDMI audio paths + * gst: remove timeouts when autoconnect=false + * audioconvert: handle invalid ports better + * audioconvert: handle port remove + * pw_context_parse_conf_section: use the conf argument instead of the context's conf + * stream: FORCE_RATE should just contain the rate + * jack: FORCE_RATE should just contain the rate + * jack: set global_mix safely + * jack: sync threads by pausing the core + * alsa: Added handle for controlling htimestamp autodisable + * And more +- Remove patch already merged upstream: + * fix-gst-sink.patch + +------------------------------------------------------------------- +Tue Mar 12 11:01:21 UTC 2024 - Antonio Larrosa + +- Require pipewire-pulseaudio from pipewire-alsa so when + pipewire-alsa is installed, pipewire has audio support (or put + in other words, so pipewire-alsa isn't installed with the real + pulseaudio). Fixes boo#1221235. + +------------------------------------------------------------------- +Wed Mar 06 17:01:46 UTC 2024 - alarrosa@suse.com + +- Add patch from upstream submitted at glfo#pipewire/pipewire#1932 + that fixes selecting the pipewire gstreamer plugins by the + autoaudiosink/autoaudiosrc plugins: + * fix-gst-sink.patch + ------------------------------------------------------------------- Thu Feb 29 14:58:44 UTC 2024 - Dominique Leuenberger diff --git a/pipewire.obsinfo b/pipewire.obsinfo index 77ea39d..759eab8 100644 --- a/pipewire.obsinfo +++ b/pipewire.obsinfo @@ -1,4 +1,4 @@ name: pipewire -version: 1.0.3 -mtime: 1706879347 -commit: 6ab86209f23a841de7eac6bc0c1009aceb9ffd87 +version: 1.0.3+git51.89d8e8b +mtime: 1710146069 +commit: 89d8e8b381db3a23fd2b0900f882645c4aca52f0 diff --git a/pipewire.spec b/pipewire.spec index ea56618..ea1be36 100644 --- a/pipewire.spec +++ b/pipewire.spec @@ -62,7 +62,7 @@ %bcond_with aptx Name: pipewire -Version: 1.0.3 +Version: 1.0.3+git51.89d8e8b Release: 0 Summary: A Multimedia Framework designed to be an audio and video server and more License: MIT @@ -194,7 +194,7 @@ This package provides the PipeWire shared library. Summary: PipeWire libjack replacement libraries Group: Development/Libraries/C and C++ Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives %description libjack-%{apiver_str} PipeWire is a server and user space API to deal with multimedia pipelines. @@ -338,6 +338,8 @@ Requires: %{libpipewire} >= %{version}-%{release} Recommends: %{name} >= %{version}-%{release} # Both providing /etc/alsa/conf.d/99-*-default.conf can cause issues Conflicts: alsa-plugins-pulse +# This is needed so that pipewire-alsa is not installed with the real pulseaudio (boo#1221235) +Requires: pipewire-pulseaudio %description alsa This package contains an ALSA plugin for the PipeWire media server. @@ -606,7 +608,19 @@ fi %{_userunitdir}/pipewire.socket %{_userunitdir}/filter-chain.service %{_mandir}/man1/pipewire.1%{?ext_man} +%{_mandir}/man1/pw-reserve.1%{?ext_man} +%{_mandir}/man1/pw-v4l2.1%{?ext_man} +%{_mandir}/man1/spa-acp-tool.1%{?ext_man} +%{_mandir}/man1/spa-inspect.1%{?ext_man} +%{_mandir}/man1/spa-json-dump.1%{?ext_man} +%{_mandir}/man1/spa-monitor.1%{?ext_man} +%{_mandir}/man1/spa-resample.1%{?ext_man} +%{_mandir}/man5/pipewire-client.conf.5%{?ext_man} +%{_mandir}/man5/pipewire-filter-chain.conf.5%{?ext_man} %{_mandir}/man5/pipewire.conf.5%{?ext_man} +%{_mandir}/man5/pipewire-jack.conf.5%{?ext_man} +%{_mandir}/man7/pipewire-devices.7%{?ext_man} + %dir %{_datadir}/pipewire/ %{_datadir}/pipewire/pipewire.conf %{_datadir}/pipewire/pipewire.conf.avail/ From dc49739b3360e9dd1b9fe646dcea6a07ca86f6d0b24091a0bdaafe8f2d2203fe Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Wed, 13 Mar 2024 10:40:10 +0000 Subject: [PATCH 2/2] Accepting request 1157531 from home:alarrosa:branches:multimedia:libs:pipewire-1.0 - Update to version 1.0.4: * Highlights - Track memfd better to avoid inconsistent memory. Also make sure the mixer info is removed correctly in all cases on destroyed ports. - Correctly handle removed objects in the metadata. - Add an option to set the server and client priorities instead of using a hardcoded value of 88. - The FFADO module has been fixed. Audio and MIDI now works with the same latency as the JACK driver. This has now also been tested with a Focusrite Saffire Pro 14. - The JACK library has seen some important fixes. Some ardour crackling has been fixed when looping and multiple MIDI ports on a client should now work. - Small bugfixes and improvements. * PipeWire - Track memfd better to avoid inconsistent memory. Also make sure the mixer info is removed correctly in all cases on destroyed ports. - Fix Props param emission again in pw_stream. (#3833) - Add MAPPABLE flag to buffer data to indicate that the fd can be mmapped directly. Use this on DMABUF from v4l2. (#3840) - Correctly handle removed object in the metadata. - FreeBSD build and compatibility fixes. - Add an option to set the server and client priorities instead of using a hardcoded value of 88. - Read config overrides in the right order. - Fix PIPEWIRE_QUANTUM rate handling in pw_stream and pw_filter. - Fix pw_context_parse_conf_section(), actually use the conf OBS-URL: https://build.opensuse.org/request/show/1157531 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pipewire?expand=0&rev=188 --- _service | 6 +-- pipewire-1.0.3+git51.89d8e8b.obscpio | 3 -- pipewire-1.0.4.obscpio | 3 ++ pipewire.changes | 79 ++++++++++++++++++++++++++++ pipewire.obsinfo | 6 +-- pipewire.spec | 2 +- 6 files changed, 89 insertions(+), 10 deletions(-) delete mode 100644 pipewire-1.0.3+git51.89d8e8b.obscpio create mode 100644 pipewire-1.0.4.obscpio diff --git a/_service b/_service index d3bfee3..1cc3920 100644 --- a/_service +++ b/_service @@ -3,11 +3,11 @@ git https://gitlab.freedesktop.org/pipewire/pipewire.git - 1.0 - @PARENT_TAG@+git@TAG_OFFSET@.%h + 1.0.4 + @PARENT_TAG@ diff --git a/pipewire-1.0.3+git51.89d8e8b.obscpio b/pipewire-1.0.3+git51.89d8e8b.obscpio deleted file mode 100644 index 91018b2..0000000 --- a/pipewire-1.0.3+git51.89d8e8b.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7e93400b8681106539e782a39055f742d584124b64d37837ba58d07f99a03949 -size 12568077 diff --git a/pipewire-1.0.4.obscpio b/pipewire-1.0.4.obscpio new file mode 100644 index 0000000..2143d57 --- /dev/null +++ b/pipewire-1.0.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d064d9a9efbdb4d860158e0cd86a1aab1b91503c9fbd8ab5628ec00f0c0a9291 +size 12555277 diff --git a/pipewire.changes b/pipewire.changes index dba887a..0dee0b2 100644 --- a/pipewire.changes +++ b/pipewire.changes @@ -1,3 +1,82 @@ +------------------------------------------------------------------- +Wed Mar 13 10:12:26 UTC 2024 - Antonio Larrosa + +- Update to version 1.0.4: + * Highlights + - Track memfd better to avoid inconsistent memory. Also make + sure the mixer info is removed correctly in all cases on + destroyed ports. + - Correctly handle removed objects in the metadata. + - Add an option to set the server and client priorities instead + of using a hardcoded value of 88. + - The FFADO module has been fixed. Audio and MIDI now works + with the same latency as the JACK driver. This has now also + been tested with a Focusrite Saffire Pro 14. + - The JACK library has seen some important fixes. Some ardour + crackling has been fixed when looping and multiple MIDI ports + on a client should now work. + - Small bugfixes and improvements. + * PipeWire + - Track memfd better to avoid inconsistent memory. Also make + sure the mixer info is removed correctly in all cases on + destroyed ports. + - Fix Props param emission again in pw_stream. (#3833) + - Add MAPPABLE flag to buffer data to indicate that the fd can + be mmapped directly. Use this on DMABUF from v4l2. (#3840) + - Correctly handle removed object in the metadata. + - FreeBSD build and compatibility fixes. + - Add an option to set the server and client priorities instead + of using a hardcoded value of 88. + - Read config overrides in the right order. + - Fix PIPEWIRE_QUANTUM rate handling in pw_stream and + pw_filter. + - Fix pw_context_parse_conf_section(), actually use the conf + argument. + - A new pw_stream_get_nsec() and pw_filter_get_nsec() function + was added to get the current time of the stream/filter + without having to assume a particular clock. + - A new default.clock.quantum-floor property was added to + configure the absolute lowest buffer-size. (#3908) + * docs + - Many doc updates. + * tools + - Make sure we always quit pw-cli when the server stops.(#3837) + - pw-top now prints all drivers in batch mode. (#3899) + * modules + - Don't destroy the client in protocol-simple on EAGAIN. + - Handle IPv6 better in the RTP modules. Fix IPv6 SAP header + parsing. (#3851) + - The FFADO module has been fixed. Audio and MIDI now works + with the same latency as the JACK driver. This has now also + been tested with a Focusrite Saffire Pro 14. (#3558) + * pulse-server + - Make sure the peer_name is filled to avoid protocol errors. + * SPA + - Small resampler tweaks to improve stability of adaptive + resampler. + - Add ALSA option to control htimestamp autodisable. + - Avoid some potential crashes in audioconvert when ports are + removed. + - Improve HDMI jack detection on some SOCs. + - The audioconvert now has a monitor.passthrough option to pass + the latency information on the monitor ports. (#3888) + * GStreamer + - Don't use timeouts when autoconnect=false in pipewiresrc. + (#3884) + - pipewiresrc and pipewiresink can now be automatically + selected as audio source and sink. + - An invalid memory access was fixed when destroying the device + provider. + * JACK + - Remove properties correctly with the object id, not serial. + - Improve sync with the data thread by pausing the core. Also + improve handling of port io to avoid invalid buffer access. + - Fix PIPEWIRE_QUANTUM rate handling. + - Support multiple MIDI input ports per client. (#3901) + - The output buffer size is now always correctly set. (#3892) + * ALSA + - Handle errors from eventfd_create correctly. + ------------------------------------------------------------------- Tue Mar 12 11:10:03 UTC 2024 - Antonio Larrosa diff --git a/pipewire.obsinfo b/pipewire.obsinfo index 759eab8..b5ce22a 100644 --- a/pipewire.obsinfo +++ b/pipewire.obsinfo @@ -1,4 +1,4 @@ name: pipewire -version: 1.0.3+git51.89d8e8b -mtime: 1710146069 -commit: 89d8e8b381db3a23fd2b0900f882645c4aca52f0 +version: 1.0.4 +mtime: 1710318128 +commit: f2874ad1c2f7f0b9a1da05cc4f402b3ea3761ee6 diff --git a/pipewire.spec b/pipewire.spec index ea1be36..50f7e76 100644 --- a/pipewire.spec +++ b/pipewire.spec @@ -62,7 +62,7 @@ %bcond_with aptx Name: pipewire -Version: 1.0.3+git51.89d8e8b +Version: 1.0.4 Release: 0 Summary: A Multimedia Framework designed to be an audio and video server and more License: MIT