summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/pipewire
Commit message (Collapse)AuthorAgeFilesLines
* pipewire: update 1.4.5 -> 1.4.6Markus Volk10 days1-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 1.4.6 (2025-06-27) This is a bugfix release that is API and ABI compatible with previous 1.x releases. Highlights - Fix a crasher bug in filter-chain and one in the ALSA plugin. - Improve latency reporting in module-combine-stream. - Some smaller fixes and cleanups. modules - Improve latency handling in module-combine-stream. (#4731) - Improve save activation/deactivation of the filter-graph in module-filter-chain to avoid crashes. (#4700, #4750) - Add an option to disable RAOP with a context.property. SPA - Handle NULL io in alsa wakeup code. This can happen when there is negotiation happening. (#4734) - Enable interrupts after an ALSA error to keep the dataflow going. - Reset some stats better after an ALSA error. - Support the alsa.use-ucm property for the ALSA udev plugin. pulse-server - Mark empty buffers. This improves some code paths in the mixer. GStreamer - Fix a refcount issue in the device provider. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-252-2/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.4.4 -> 1.4.5Markus Volk2025-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 1.4.5 (2025-06-04) This is a quick bugfix release that is API and ABI compatible with previous 1.x releases. Highlights - Fix negotiation errors when using multichannel output. Fixes audio in some games and mpv in some cases. - 1 Small fix and 1 improvement. SPA - Fix another bug caused by reversing the filter default value preference. (#4722) pulse-server - Implement STREAM_DONT_INHIBIT_AUTO_SUSPEND flags. This can reduce power in pavucontrol when monitoring inactive streams. (#4255 #4726) ALSA - Fix a potential deadlock when calling _drop and _drain at the same time. (#4728) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: updatre 1.4.3 -> 1.4.4Markus Volk2025-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 1.4.4 (2025-05-29) This is a quick bugfix release that is API and ABI compatible with previous 1.x releases. Highlights - Provide better compatibility with 1.2 for MIDI. - Fix mpv buffer negotiation regression. - Improve GStreamer compatibility with libcamera. SPA - Provide conversions to old style midi in the ALSA sequencer. - Negotiate only to UMP when using a newer library. - Fix negotiation direction for buffers, prefer the converter suggestion instead of the application until we can be sure applications make good suggestions. GStreamer - Allow a minimum of 1 buffers again instead of 8. libcamera will allocate only 4 buffers so we need to support this. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.4.2 -> 1.4.3Markus Volk2025-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 1.4.3 (2025-05-22) This is a bugfix release that is API and ABI compatible with previous 1.x releases. Highlights - Many netjack2 improvements. The driver/manager roles were fixed, MIDI is written correctly and errors are handled better. - Improvements to UMP sysex handling. - More small bug fixes and improvements. PipeWire - Let all commands go to the node. This makes it possible to send custom commands. Modules - Many netjack2 improvements. The driver/manager roles were fixed, MIDI is written correctly and errors are handled better. - Improve the filter-graph state management in filter-chain. SPA - Use default value of filter. (#4619) - Fix UMP program change conversion to MIDI 1.0. (#4664) - Skip only the first buffer for raw formats in v4l2 to avoid dropping important headers when dealing with encoded formats. - Fix ebur128 port name. (#4667) - Only convert UMP/MIDI, pass other controls. Fixes OSC and other control types in the mixer. (#4692) - Improve UMP sysex handling in alsa seq. - Improve ALSA audio.channels support. Only use this when the value is within the valid range. Tools - debug UMP SysRT messages correctly in pw-mididump. JACK - Handle sysex in UMP better by appending the converted midi1 sysex. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: use webrtc-audioprocessing-2Markus Volk2025-05-221-1/+1
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.4.1 -> 1.4.2Markus Volk2025-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 1.4.2 (2025-04-14) This is a bugfix release that is API and ABI compatible with previous 1.x releases. Highlights - Do extra checks for MIDI to avoid 100% CPU usage on older kernels. - Fix some potential crashes in POD builder. - pw-cat streaming improvements on stdout/stdin. - Small fixes and improvements. PipeWire - Make the service files depend on DBus to avoid startup races. SPA - Do extra checks for MIDI to avoid 100% CPU usage on older kernels. - Use Header metadata by default in videoadapter. - Handle set_format result from v4l2 better. - Handle crash when POD builder overflows in the filter. - Work around a libebur128 bug. (#4646) Tools - pw-cat prefers AU format when streaming on stdout/stdin. (#4629) - Improve pw-cat verbose sndfile format debug. - Add the missing --channel-map long option to pw-loopback. GStreamer - Fix a leak in the deviceprovider. (#4616) - Fix negotiation and make renegotiation better. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Avoid having pipewire-native depend on pipewirePeter Kjellerstedt2025-04-281-1/+3
| | | | | | | | | Make pipewire-pulse only depend on pipewire-modules-protocol-pulse for target. Otherwise the magic behind BBCLASSEXTEND and PACKAGES_DYNAMIC results in pipewire-native ending up depending on pipewire (for target). Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: make use of virtual/libsdl2Markus Volk2025-04-251-1/+1
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Deduce branch name from PVKhem Raj2025-03-241-1/+2
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc:Markus Volk <f_l_k@t-online.de>
* pipewire: update 1.4.0 -> 1.4.1Markus Volk2025-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a quick bugfix release that is API and ABI compatible with previous 1.x releases. - Handle SplitPCM wrong channels specifications. This fixes some problems with disappearing devices. - Add backwards compatibility support for when the kernel does not support UMP. Also fix UMP output. This restores MIDI support for older kernels/ALSA. - Fix a crash in audioconvert because the resampler was not using the right number of channels. - Some compilation fixes and small improvements. - Don't emit events when disconnecting a stream. (#3314) - Fix some compilation problems. (#4603) - Bump the ROC requirement to version 0.4.0 - Handle SplitPCM too few or too many channels. Add an error string to the device names when the UCM config has an error. - Add backwards compatibility support for when the kernel does not support UMP. - Configure the channels in the resampler correctly in all cases. (#4595) - Fix UMP output. - Use the right samplerate of the filter-graph in audioconvert in all cases. - Fix a crash with an incomming call. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: dont create alsa links for nativeMarkus Volk2025-03-221-1/+1
| | | | | | | | | | | | This fixes: ERROR: pipewire-native-1.4.0-r0 do_populate_sysroot: sstate found an absolute path symlink /home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/sysroot-destdir/home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/recipe-sysroot-native/etc/alsa/conf.d/50-pipewire.conf pointing at /home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/recipe-sysroot-native/usr/share/alsa/alsa.conf.d/50-pipewire.conf. Please replace this with a relative link. ERROR: pipewire-native-1.4.0-r0 do_populate_sysroot: sstate found an absolute path symlink /home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/sysroot-destdir/home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/recipe-sysroot-native/etc/alsa/conf.d/99-pipewire-default.conf pointing at /home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/recipe-sysroot-native/usr/share/alsa/alsa.conf.d/99-pipewire-default.conf. Please replace this with a relative link. ERROR: pipewire-native-1.4.0-r0 do_populate_sysroot: Failing task due to absolute path symlinks ERROR: Logfile of failure stored in: /home/flk/poky/build/tmp/work/x86_64-linux/pipewire-native/1.4.0/temp/log.do_populate_sysroot.913232 ERROR: Task (virtual:native:/home/flk/poky/meta-openembedded/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.4.0.bb:do_populate_sysroot) failed with exit code '1' Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Install missing ALSA config filesAriel D'Alessandro2025-03-181-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | As detailed in Pipewire documentation [0], the ALSA plugin requires config files to be symlinked as follow: ``` The plugin will be picked up by alsa when the following files are in /etc/alsa/conf.d/: /etc/alsa/conf.d/50-pipewire.conf -> /usr/share/alsa/alsa.conf.d/50-pipewire.conf /etc/alsa/conf.d/99-pipewire-default.conf ``` The above symlinks are missing, thus the pipewire device is not properly detected. Fix this by creating the required symlinks and installing them in the pipewire-alsa package. [0] https://github.com/PipeWire/pipewire/blob/master/INSTALL.md#alsa-plugin Link: https://github.com/openembedded/meta-openembedded/issues/704 Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire-media-session: Fix for incompatible-pointer-types build errorsYoann Congal2025-03-152-1/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport a fix from master branch to fix these errors: | FAILED: src/pipewire-media-session.p/access-flatpak.c.o | x86_64-poky-linux-gcc [...] -o src/pipewire-media-session.p/access-flatpak.c.o -c ../git/src/access-flatpak.c | ../git/src/access-flatpak.c: In function 'object_update': | ../git/src/access-flatpak.c:117:62: error: passing argument 1 of 'pw_client_update_permissions' from incompatible pointer type [-Wincompatible-pointer-types] | 117 | pw_client_update_permissions(client->obj->obj.proxy, | | ~~~~~~~~~~~~~~~~^~~~~~ | | | | | struct pw_proxy * | In file included from .../tmp/work/core2-64-poky-linux/pipewire-media-session/0.4.2/recipe-sysroot/usr/include/pipewire-0.3/pipewire/pipewire.h:15, | from ../git/src/access-flatpak.c:35: | .../tmp/work/core2-64-poky-linux/pipewire-media-session/0.4.2/recipe-sysroot/usr/include/pipewire-0.3/pipewire/client.h:191:71: note: expected 'struct pw_client *' but argument is of type 'struct pw_proxy *' | 191 | PW_API_CLIENT_IMPL int pw_client_update_permissions(struct pw_client *object, uint32_t n_permissions, | | ~~~~~~~~~~~~~~~~~~^~~~~~ | FAILED: src/pipewire-media-session.p/default-routes.c.o | x86_64-poky-linux-gcc [...] -o src/pipewire-media-session.p/default-routes.c.o -c ../git/src/default-routes.c | ../git/src/default-routes.c: In function 'restore_route_params': | ../git/src/default-routes.c:482:29: error: passing argument 1 of 'pw_device_set_param' from incompatible pointer type [-Wincompatible-pointer-types] | 482 | pw_device_set_param((struct pw_node*)dev->obj->obj.proxy, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | struct pw_node * | In file included from .../tmp/work/core2-64-poky-linux/pipewire-media-session/0.4.2/recipe-sysroot/usr/include/pipewire-0.3/pipewire/pipewire.h:18, | from ../git/src/default-routes.c:43: | .../tmp/work/core2-64-poky-linux/pipewire-media-session/0.4.2/recipe-sysroot/usr/include/pipewire-0.3/pipewire/device.h:179:62: note: expected 'struct pw_device *' but argument is of type 'struct pw_node *' | 179 | PW_API_DEVICE_IMPL int pw_device_set_param(struct pw_device *object, uint32_t id, uint32_t flags, | | ~~~~~~~~~~~~~~~~~~^~~~~~ | FAILED: src/pipewire-media-session.p/access-portal.c.o | x86_64-poky-linux-gcc [...] -o src/pipewire-media-session.p/access-portal.c.o -c ../git/src/access-portal.c | ../git/src/access-portal.c: In function 'set_global_permissions': | ../git/src/access-portal.c:268:62: error: passing argument 1 of 'pw_client_update_permissions' from incompatible pointer type [-Wincompatible-pointer-types] | 268 | pw_client_update_permissions(client->obj->obj.proxy, | | ~~~~~~~~~~~~~~~~^~~~~~ | | | | | struct pw_proxy * | In file included from .../tmp/work/core2-64-poky-linux/pipewire-media-session/0.4.2/recipe-sysroot/usr/include/pipewire-0.3/pipewire/pipewire.h:15, | from ../git/src/access-portal.c:39: | .../tmp/work/core2-64-poky-linux/pipewire-media-session/0.4.2/recipe-sysroot/usr/include/pipewire-0.3/pipewire/client.h:191:71: note: expected 'struct pw_client *' but argument is of type 'struct pw_proxy *' | 191 | PW_API_CLIENT_IMPL int pw_client_update_permissions(struct pw_client *object, uint32_t n_permissions, | | ~~~~~~~~~~~~~~~~~~^~~~~~ Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.2.7 -> 1.4.0Markus Volk2025-03-102-49/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove backport patch - install libspa.so to libpipewire package PipeWire 1.4.0 (2025-03-06) This is the 1.4 release that is API and ABI compatible with previous 1.2.x and 1.0.x releases. This release contains some of the bigger changes that happened since the 1.2 release last year, including: * client-rt.conf was removed, all clients now use client.conf and are given RT priority in the data threads. * UMP (aka MIDI2) support was added and is now the default format to carry MIDI1 and MIDI2 around in PipeWire. There are helper functions to convert between legacy MIDI and UMP. * The resampler can now precompute (at compile time) some common conversion filters. Delay reporting in the resampler was fixed and improved. * Bluetooth support for BAP broadcast links and support for hearing aids using ASHA was added. A new G722 codec was also added. Delay reporting and configuration in Bluetooth was improved. * The ALSA plugin now supports DSD playback when explicitly allowed with the alsa.formats property. * A PipeWire JACK control API was added. * A system service was added for pipewire-pulse. * Many documentation and translation updates. * Many of the SPA macros are converted to inline functions. All SPA inline functions are now also compiled into a libspa.so library to make it easier to access them from bindings. * The module-filter-chain graph code was moved to a separate filter-graph SPA plugin so that it becomes usable in more places. EBUR128, param_eq and dcblock plugins were added to filter-graph. The filter graph can now also use fftw for doing convolutions. The audioconvert plugin was optimized and support was added to audioconvert to insert extra filter-graphs in the processing pipeline. * New helper functions were added to parse JSON format descriptions. * The profiler now also includes the clock of the followers. * RISCV CPU support and assembler optimisations were added. * The clock used for logging timestamps can be configured now. * The JSON parser was split into core functions and helper. * Support for UCM split PCMs was added. Instead of alsa-lib splitting up PCMs, PipeWire can mark the PCMs with the correct metadata so that the session manager can use native PipeWire features to do this. * Support for webrtc2 was added to echo-cancel. * IEC958 codecs are now detected from the HDMI ELD data. * Conversion between floating point and 32 bits now preserve 25 bits of precision instead of 24 bits. * A new Telephony D-BUS API compatible with ofono was added. * The invoke queues are now more efficient and can be called from multiple threads concurrently. * Clock information in v4l2 was improved. * An ffmpeg based videoconvert plugin was added that can be used with the videoadapter. * The GStreamer elements have improved buffer pool handling and rate matching. * The combine-stream module can now also mix streams. * link-factory now checks that the port and node belong together. * The netjack-manager module has support for autoconnecting streams. * The native-protocol has support for abstract sockets. * The pulse server has support for blocking playback and capture in pulse.rules. * The corked state of stream is now reported correctly in pulse-server. * Fix backwards jumps in pulse-server. * Latency configuration support was added in loopback and raop-sink. * The ROC module has more configuration options. * The SAP module now only send updated SDP when something changed. * RTP source now has a standby mode where it idles when there is no data received. * Support for PTP clocking was added the RTP streams. * The VBAN receiver can now dynamically create streams when they are detected. * Error reporting when making links was improved. * Support for returning (canceling) a dequeued buffer in pw-stream. * Support for emiting events in pw-stream was added. * pw-cat now support stdin and stdout. Highlights (since the previous 1.3.83 release) - Small fixes and improvements. PipeWire - Fix some missing includes in metadata.h - Pass the current error in errno when a stream is in error (#4574) modules - Evaluate node rules before loading adapter follower to ensure properties are set correctly. (#4562) SPA - Avoid a use after free when building PODs. (#4445) - Take headroom into account when calculating resync. Bluetooth - Fix +CLCC parsing. GStreamer - Notify about default device changes in deviceprovider. - Copy frames between pools and avoid splitting video buffers. JACK - Add an option to disable the MIDI2 port flags. (#4584) Older versions: PipeWire 1.3.83 (2025-02-20) This is the third and hopefully last 1.4 release candidate that is (almost) API and (entirely) ABI compatible with previous 1.2.x and 1.0.x releases. We note that in the 1.3.x series, the API is slighty not backwards compatible because some methods previously used to accept void* as a parameter while they now require the correct type. We think this is however a good kind of API breakage and expect projects to patch their code to get things compiled with newer version (which will also compile for older versions). Note also that this is not an ABI break. - Handle JACK transport updates in a better way. - Fix a SAP regression when starting. - Fix regression in rate scaling. - Improve bluetooth source rate handling. - More small bugfixes and improvements. - Handle JACK transport updates in a better way. (#4543) - Check that the link factory port and nodes match. Deprecate the port.id when making links. - Improve profiler output by scaling the quantum with the node rate so that we don't end up with confusing information. (#4555) - Fix sending of the SAP SDP. Handle some SDP parsing errors. - Add some more options to the ROC source module. (#4516) - Fix firewire quirks in udev rules. (#4528) - Fix a bug in the rate scaling in some cases that would make things run with the wrong samplerate. - Improve introspection of control types. - Use the G722 codec from Android instead of FFmpeg for ASHA. - Use the A2DP source rate as the graph rate. (#4555) - Specify the bluetooth source latency property in the rate of the stream to avoid conversions and rounding errors. This is the second 1.4 release candidate that is API and ABI compatible with previous 1.2.x and 1.0.x releases. - Various pw-stream improvements: timing information fixes, avoid locking buffers in some cases and an improved drain event. - A new Telephony D-BUS API compatible with ofono. - Documentation fixes and updates. - More small fixes and improvements. - Improve timing information when rate is unknown. - Avoid locked buffers in pw_stream in some cases. - Improve pw_stream drain event emission. - Improve manager socket handling. Applications can avoid hardcoding the sockets so that they will respect the config settings. - Fix header size calculation when using ipv6. (#4524) - Optimize byteswapped s16 conversions. - Improve event handling for internal events. - Optimize negiotiation when in convert mode, prefer the format of the follower in adapter. - Fix EnumPortConfig for videoadapter without converter. - Fix libcamera property buffer size. - Add systemwide systemd files. - Add a UMP example. - Use the new JackPortMIDI2 flag to mark UMP ports to JACK. - Support BAP hardware volume. - Add a Telephony DBUS API. - Disable buffer pools for audio by default. - Improve the module documentation. This is the first 1.4 release candidate that is API and ABI compatible with previous 1.2.x and 1.0.x releases. In addition to all the changes backported to 1.2.x, this release also contains some new features: - UMP support was added with MIDI 1.0 and MIDI 2.0 support in the ALSA sequencer plugin. By default PipeWire will now use MIDI 2.0 in UMP messages to transport MIDI in the graph, with conversions to/from legacy MIDI where required. This requires UMP support in the kernel. - client-rt.conf is no longer supported. Custom changes made to this config should be moved to client.conf. Clients that try to load the client-rt.conf will emit a warning and be directed to client.conf automatically for backwards compatibility. - The module-filter-chain code was moved to a new filter-graph plugin. This made it possible to add filter-graph support directly in audioconvert. It is now possible to run up to 8 run-time swappable filter-graphs inside streams and nodes. This should make it easier to add effects to streams and device nodes. - Bluetooth support for BAP broadcast links and support for hearing aids using ASHA was added. - Many more bugfixes and improvements. - Nodes are now only scheduled when ready to signal the driver. - Add slovenian translation. (#4156) - Link errors are handled better. - The videoadapter is now enabled by default but no videoconverter is loaded yet by default. - Streams now have support for ProcessLatency. - Streams now have a method to emit events. - The RequestProcess event and command can now pass around extra properties. - Local timestamps are now used for logging. - client-rt.conf is no longer supported. Custom changes made to this config should be moved to client.conf. Clients that try to load the client-rt.conf will emit a warning and be directed to cliert.conf automatically to preserve backwards compatibility. - pw_stream now has an API to return unused buffers. - module-combine-stream can now mix streams. - Links in error are now destroyed by link-factory. - The netjack2 driver can now also create streams that autoconnect when specified. (#4125) - Many updates and bugfixes to the RTP modules. - The netjack2 driver can now bind to a custom IP and port pair. (#4144) - The loopback module and module-raop have support for ProcessLatency, which can be used to query and update the latency. - The profiler module can now reduce the sampling rate. - The filter-chain was optimized some more. - The filter-chain gained some more plugins: param_eq, ebur128, dcblock. - Support for fftw based convolver was added. - Some module arguments can now be overridden. - The VBAN receiver now creates new streams per stream name. (#4400) - The RTP SAP module is now smarter with generating new SAP messages. - The RTP source can now be paused when no data is received. (#4456) - pw-cat can now stream most formats from stdin/stdout. - pw-profiler has a JSON dump option to dump the raw profiler data. - pw-cli now supports unload-module. (#4276) - The resampler can precompute some common coeficients now at compile time. - UMP support was added with MIDI 1.0 and MIDI 2.0 support in the ALSA sequencer plugin. By default PipeWire will now use MIDI 2.0 in UMP messages to transport MIDI in the graph, with conversions to/from legacy MIDI where required. - Control types can now be negotiated. - Support for writing ALSA bind controls was added. - The ALSA sequencer now has better names for the ports. - The F32 to S32 conversion now uses 25 bits for an extra bit of precision. - libcamera controls can now be set in all cases. - The videoadapter has been improved and a dummy and ffmpeg based videoconverter plugin was added. - Negotiation was improved in audioadapter. First a passthrough format is tried. - Some JSON helper functions were added and some duplicate code removed or simplified. - Add support for RISC V CPU detection and add many optimizations in the audio converters. - Add an option to disable ALSA mixer path select. (#4311) - Fix a potential bug with the cleanup of the loop queues. - ALSA nodes now dynamically adjust the DLL bandwidth based on average measured variance. - The loop invoke queue was made more efficient and make it possible to invoke from multiple threads. - The filter-chain code was moved to a new filter-graph plugin. - Most function macros are now static inlined and can also be built into a libspa.so file. This should improve language bindings. - V4l2 clock information was improved. - Supported IEC958 codecs are now autodetected via ELD info. - Audioconvert was optimized some more. - Audioconvert can now include filter-graphs in its processing. - webrtc-audio-processing-2 is now supported in AEC. - The resampler now reports the delay and subsample delay. Also the delay is reported in the samplerate of the input. - The ALSA sequencer now handle kernels without UMP support. (#4507) - Add quirk to block clients from making record and playback streams. - The corked state is now set on stream to always report this state correctly to other clients. - Readiness notification was added to the pulse server with the PIPEWIRE_PULSE_NOTIFICATION_FD environment variable. (#4347) - The pulse.cmd config now supports conditions. - A bug in clearing the ringbuffer was fixed. (#4464) - Support for the default devices was added to the deviceprovider. (#4268) - The graph clock is now used as the source for the GStreamer clock. - The sink now does some rate control. - The ALSA plugin now supports DSD when explicitly enabled. - JACK now supports 2 new extension formats for OSC and UMP. - JACK clients can receive UMP MIDI1 or MIDI2 messages when using the new UMP port format extension. - JACK now reports the PipeWire version in the minor/micro/proto. - Implement more jackserver functions. - Support BAP broadcast links. - Support for ASHA was added. - Delay reporting in A2DP sources was improved. - 2 new examples of pw-stream using spa_ringbuffer were added. - Many updates to the man pages. - More documentation about thread safety of functions in stream and filters. (#4521) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: remove WORKDIR from documentationGyorgy Sarvari2025-02-141-0/+6
| | | | | | | | | | In case docs PACKAGECONFIG is enabled, do_package_qa task fails due to some of the generated html files are referencing the ${WORKDIR}. Delete it from these files. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire-0.2: drop old version of recipeGyorgy Sarvari2025-01-312-109/+0
| | | | | | | | | | | | | | | | | pipewire-0.2 (which is a pre-pandemic version of pipewire) has been kept around[1] to satisfy the dependencies of mutter (< 3.36). Mutter has been updated to a version that doesn't require this old pipewire more than 3 years ago[2]. There is a much more newer version of pipewire recipe available in the same folder, and it seems there aren't further recipes depending on this old version. [1]: https://github.com/openembedded/meta-openembedded/commit/5200e029ea4f853f83b0c0884af5f6d9626b78ea [2]: https://github.com/openembedded/meta-openembedded/commit/7cd570b486074d5876eae9fd48232694939a3e64 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.2.6 -> 1.2.7Markus Volk2024-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bugfix release that is API and ABI compatible with the previous 1.2.x and 1.0.x releases. - Backport support for lazy scheduling. - Handle the case where processing would stop when an ALSA driver is destroyed. - Add support for v4l2loopback in the v4l2 plugin. - Small bug fixes and improvements. - Invalidate the proxy ID when removed. - Backport support for lazy scheduling. - Fix profiler stats for async nodes. - Fix EARLY_PROCESS again in pw-stream. (#3480) - Fix a crasher issue when nodes are created in the wrong order in module-filter-chain. - Fix unmap bug in lv2 uri tables. - Add ratelimit to jack-tunnel xruns. - Remove hardcoded limit in filter-chain sofa plugin. - Handle the MTU size correctly in module-rtp and handle large MTUs. (#4396) - Fix JSON float parsing errors in equalizer module. (#4418) - Fix crash in audiotestsrc when using spa-inspect (#4365). - Improve JSON float infinity checks. - Improve resampler performace a little. - Make audioconvert only output when there is something to output. - Fix regression in v4l2 port flags which would disable support for EXPBUF. - Handle the case where an ALSA driver is destroyed and the follower becomes a driver. Processing would stop. (#4401) - Add support for v4l2loopback in the v4l2 plugin. - Give a better error message when running out of fds. - Ensure positive latency reporting. - Fix memory leak in deviceprovider. - Fix locking when emitting an error. - Fix pw-dot link labels. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Add glib-2.0-native dep for bluez5AmateurECE2024-11-291-1/+1
| | | | | | | | | | The SPA plugins for bluez depend on D-Bus bindings generated using gdbus-codegen at build time. Some PACKAGECONFIG combinations appear to pull this in accidentally. Add an explicit dependency to ensure that it's in the sysroot when PACKAGECONFIG contains bluez5. Signed-off-by: Ethan D. Twardy <ethan.twardy@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.2.5 -> 1.2.6Markus Volk2024-10-262-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - replace patch by the one that was implemented upstream PipeWire 1.2.6 (2024-10-23) This is a bugfix release that is API and ABI compatible with the previous 1.2.x and 1.0.x releases. Highlights - The filter-chain param changes were not aggregated correctly, causing some param changes to be ignored. (#4331) - Clear the JACK io ports correctly when stopping to avoid crashes. (#4337) - Some more small fixes and improvements. PipeWire - Stream states are now updated based on the underlying node state. - Exported nodes now have their state change done synchronously so that the server can immediately start the driver and avoid some initial xruns. - Improve stream flush handling and improve the docs. - Don't send mix_info to destroyed ports to avoid some errors in the JACK clients. Modules - The filter-chain param changes were not aggregated correctly, causing some param changes to be ignored. (#4331) - The filter-chain now correctly optimizes unlinked nodes in all cases. SPA - ALSA PCM node properties are now no longer overwritten with card properties. (#4135) - Increase the adapter retry count to avoid xruns in some cases. (#4334) - Fix potential crash in cleanup of ALSA nodes. Bluetooth - Fix a crash with broadcast sinks. - Improve compatibility with Phonak hearing aids. - Don't exit when DBus goes down. JACK - Clear the io ports correctly when stopping to avoid crashes. (#4337) Docs - Backport docs from master. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: add patch to fix zero initializationMarkus Volk2024-09-292-0/+42
| | | | | | | | There are issues at least in combination with kodi [https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4325] Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.2.3 -> 1.2.5Markus Volk2024-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 1.2.5 (2024-09-27) This is an important bugfix release that is API and ABI compatible with the previous 1.2.x and 1.0.x releases. Highlights - Fix an fd mismatch in the protocol in some cases that could lead to fd leaks and crashes. - Fix a bug where the mixer was not updated after setting the port, which would cause muted audio at boot or resume from suspend. - Fix a potential use-after-free in module-rt when stopping a thread. - Cached objects are now freed in the JACK API to avoid memory leaks. - Some more fixes and improvements. PipeWire - RequestProcess commands are now only sent after the node completes the state change to RUNNING. - More FreeBSD fixes. - Handle ACTIVE links going to < PAUSED as well. This improves renegotiation in some cases. - Fix an fd mismatch in the protocol in some cases that could lead to fd leaks and crashes. Modules - Many of the network modules can now also accept hostnames instead of IP addresses. - Fix a potential use-after-free in module-rt when stopping the thread. SPA - Support for elogind was added. - Some more errors are checked when converting JSON to POD. (#4313) - Fix a bug where the mixer was not updated after setting the port, which would cause muted audio at boot or resume from suspend. (#4084) JACK - The BBT transport handling was improved. Some fields were added to be able to handle the JACK semantics correctly. (#4314) - Buffers are now aligned according to the maximum CPU alignment instead of the hardcoded 16 bytes alignment. - Cached objects are now freed correctly. Doc - Some small doc updates. (#4272) Older versions: PipeWire 1.2.4 (2024-09-19) This is a bugfix release that is API and ABI compatible with the previous 1.2.x and 1.0.x releases. Highlights - Avoid a crash in cleanup of globals. (#4250) - Use systemd-logind to scan for new devices in v4l2. - Some more bugfixes and improvements. PipeWire - Avoid a crash in cleanup of globals. (#4250) - Improve RequestProcess dispatch. Tools - Improve float parsing. (#4234) SPA - Clear the ringbuffer when stopping in libcamera. - Use systemd-logind to scan for new devices in v4l2. (#3539, #3960) - Queue dropped first buffer in v4l2. - Unlink pcm devices when moving drivers to avoid broken pipe. JACK - Emit buffer_size callback in jack_activate() to improve compatibility with GStreamer. (#4260) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.2.2 -> 1.2.3Markus Volk2024-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 1.2.3 (2024-08-22) This is a bugfix release that is API and ABI compatible with the previous 1.2.x and 1.0.x releases. Highlights - Implement freewheeling support in the FFADO driver. Also improve buffersize and samplerate handling. - Improve some locking on spa_loop. Remove a possible deadlock when the queue was full. - Allocate more space for the libcamera devices string to properly deduplicate libcamera and v4l2 devices. - Some more bugfixes and improvements. PipeWire - Improve activation state changes and xrun detection some more. (#4182) - Avoid a memory leak when a link in error is destroyed. Modules - Improve samplerate and buffersize handling in FFADO driver so that it is possible to force a rate and buffer size. - Implement freewheeling support in the ffado driver. - Always set the server side clock.quantum-limit on nodes. This fixes a buffer size problem in Midi-bridge. (#4005) SPA - Improve some locking on spa_loop. Remove a possible deadlock when the queue was full. (#4114) - Allocate more space for the libcamera devices string to properly deduplicate libcamera and v4l2 devices. - Fix a potential race when enumerating v4l2 udev devices. (#3960) Bluetooth - Improve compatibility with some devices (Soundcore Motion 300). Tools - pw-cli can now handle arbitrarily large input and params. (#4166) - Avoid some compiler warnings in pw-top. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.2.1 -> 1.2.2Markus Volk2024-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 1.2.2 (2024-07-31) This is a bugfix release that is API and ABI compatible with the previous 1.2.x and 1.0.x releases. Highlights - Fix some more fallout of the async nodes rewrite. Fixes some crackling, xruns and possibly also some crashes in some cases. - Fix freewheeling timeouts in case of xruns. This fixes ardour export. - Fix event mixdown in JACK. Fixes qsynth and possibly other apps. - Some more small fixes and improvements. PipeWire - Add a new SPA_IO_CLOCK_FLAG_XRUN_RECOVER flag when the process function is called because of xrun recovery. - Properly stop nodes in all cases, this avoids spurious xruns and scheduling errors. (#4122) - Make sure async nodes receive an async link in all cases. Do the processing of source output ports slightly differently to make sure we don't cause latency for sources. (#4138) (#4133) - Fix some races when negotiating and starting nodes. (#4094) - Actually include the config.h header to use malloc_trim() to reduce memory usage in pulse-server. Modules - Avoid unloading some modules on stream errors because it is possible to recover from the error. (#4121) - Fix a (harmless) warning in module-rtp because of comparing samples and time. (#4095) SPA - Let the freewheel driver detect xrun recovery and handle the timeouts correctly. This fixes an issue with ardour export. - Remove the HDMI/AC3 profiles. they turn out to fail on some hardware with no way to detect this. - Signal the eventfd when the loop is full to make sure the other thread is woken up to process the queue. JACK - Don't check timestamps when mixing down events. The timestamps are only checked when writing new events with the public API. This fixes an issue where qsynth would not receive midi events anymore. - Fix the jack_get_time() function, it was returning nano instead of micro seconds. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.2.0 -> 1.2.1Markus Volk2024-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 1.2.1 (2024-07-12) This is a bugfix release that is API and ABI compatible with previous the previous 1.2.0 release and the 1.0.x releases. Highlights - Fix a regression in the node activation counters that would break audio when using KODI. - Fix a regression in ardour export because of mishandling of sync groups. - Fix a regression in KDE screen preview because of the new async scheduling. - Fix a regression in context.exec argument parsing that would break some existing scripts. - More small bug fixes and improvements. PipeWire - Fix a regression in the node activation counters that would break audio when using KODI. (#4087) - Fix a regression in ardour export because of mishandling of sync groups. (#4083) - Fix a regression in KDE screen preview because of the new async scheduling. Disable async for driver nodes. (#4092) - Slightly improve node shutdown to cause less xruns. - Fix a regression in context.exec argument parsing that would break some existing scripts. - Support custom thread create functions. Modules - Improve snapcast address parsing. (#4093) SPA - Fix multiple %f parsing in ACP for the new plug+a52 profiles. - Improve v4l2 param generation. Improve recovery when framesize or rates are unknown, support vivid. (#4063) JACK - Use the custom thread create function to correctly let module-rt kit manage threads so that we don't end up with priorities on the wrong threads. (#4099) GStreamer - Fix a crash when destroying a stream. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.0.7 -> 1.2.0Markus Volk2024-07-011-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 1.2.0 (2024-06-27) This is the 1.2 release that is API and ABI compatible with previous 1.1.x and 1.0.x releases. This release contains some of the bigger changes that happened since the 1.0 release last year, including: * Support for asynchronous processing has been implemented. Nodes can choose (or be forced) to be scheduled asynchronously. The graph will not wait for the output of the node to continue processing but it will use the output of the previous cycle (or silence) instead. This adds one cycle of latency but it can avoid having some nodes blocking the processing graph. Non realtime streams and filters now also use this asynchronous processing instead of their own slightly broken version. * The concept of node.sync-group was added. This groups nodes with overlapping sync-group together when one of them sets the node.sync = true. This is now used to make sure all nodes are scheduled together when JACK transport is started so that they all see the same transport time. * Config parsing errors are reported earlier and much better with line and column numbers where the parsing started to fail. * Add support for mandatory metadata when negotiating buffer parameters. This can be used to only negotiate extra buffer planes when certain metadata is negotiated. One use case is the explicit sync support that requires 2 extra fds for the timelines. * Explicit sync metadata and support was added. * Support was added for making and using multiple data-loops in the server and clients. Support for CPU affinity and priorities was added to the data-loops as well. * The log topic debug levels can now be changed at runtime with metadata. The log levels in the pulse server can be dynamically changed with a /core message. * The UCM conflicting devices patches were merged. * Add snapcast-discover module to stream to snapcast servers. * Rework how peers are linked and the counters are updated. Resume the peers when a node is unlinked and not yet processed. This should cause less occasional dropouts in the graph when reconnecting things. * Many GStreamer element updates. * Many more fixes and improvements. Enjoy the summer vacation! Highlights (since the previous 1.1.83 release) - Small fixes here and there. PipeWire - Compilation fixes after enabling -Werror=float-conversion Modules - The module-rtp-sap now propagates the cleanup.sec property to the rtp-source and the rtp-source now sets a property with the receiving status. - Fix for ROC 0.3, explicitly specify sender encoding. (#4070) - Some fixes to the RAOP sink module, including a format fix for 32 bit machines. Tools - Fix pw-cli monitoring code. SPA - Revert peer_enum_params again because it was not used and flawed. - Fix multichannel processing in webrtc AEC. GStreamer - Logging improvements. - Fix a race in the bufferpool activation. Bluetooth - Improvements to BAP broadcast code parsing. Older versions: PipeWire 1.1.83 (2024-06-17) This is the third and hopefully the last 1.2 release candidate that is API and ABI compatible with previous 1.0.x releases. Some last minute changes went in to clean up the node activation and scheduling that justify another pre-release. Highlights - Rework how peers are linked and the counters are updated. Resume the peers when a node is unlinked and not yet processed. This should cause less occasional dropouts in the graph when reconnecting things. - Improve xruns in module-ffado. - Many GStreamer element updates. - More fixes and improvements. PipeWire - Rework how peers are linked and the counters are updated. Resume the peers when a node is unlinked and not yet processed. This should cause less dropouts in the graph when reconnecting. (#4026) - Improve debug of xruns. - Evaluate node.rules and device.rules before loading the plugin so that extra properties can be passed to the plugin init function. Modules - Improve timing reporting in module-ffado some more. - Prealloc less memory in the profiler by default. - Improve xrun handling in module-ffado. Tools - Fix a crash in pw-link when a link fails. - Fix pw-dump update for metadata. (#4053) SPA - Improve handling of controls. (#4028) - Fix the string size in v4l2 to hold the device and vendor id. - Support meta_videotransform on buffers in v4l2. This can be used to signal that the buffer was rotated for example. - Add HDMI/AC3 profile to ALSA when supported. - Make it possible to disable the webrtc dependency GStreamer - Improve caps handling in the elements. - Set buffer duration when we can. - Post an element error when all the elements buffers are removed. (#1980) - Improve DMA_DRM caps selection. - Some refactoring work. - Improve state handling in the elements. JACK - Improve how links are activated. - Fix some races when freeing memory. Bluetooth - Support multiple BIS in the broadcast source. PipeWire 1.1.82 (2024-05-24) This is the second 1.2 release candidate that is API and ABI compatible with previous 1.0.x releases. Not so many things needed to be fixed so this might already be the last prerelease if everything goes well... Highlights - Fix problem when moving nodes that could cause nodes to be scheduled wrongly and cause errors. (#4017) - Add snapcast-discover module to stream to snapcast servers. - Work around wrong kernel provided MTU for USB controllers. - Fix some spelling mistakes all over the codebase. - More small fixes and improvements. PipeWire - Remove the private cleanup.h header and use the public SPA version. - Fix problem when moving nodes that could cause nodes to be scheduled wrongly and cause errors. (#4017) Modules - Handle IPv6 in module-protocol-simple and support port allocation. - Add snapcast-discover module to stream to snapcast servers. Bluetooth - Work around wrong kernel provided MTU for USB controllers. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.0.6 -> 1.0.7Markus Volk2024-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | This is a small bugfix release that is API and ABI compatible with previous 1.0.x releases. - Fix a potential race/crash. - Fix some problems with negotiation of large integers and floats. - Fix JACK sysex MIDI event handling. - Some more smaller fixes and improvements. - Fix a potential race when adding/removing a port to be scheduled. - Fix FFADO default device handling. (#4023) - Fix in integer overflow and float/double compare in POD. - Copy larger MIDI events correctly. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire-0.2: Include time.h for timespec struct signatureKhem Raj2024-05-232-1/+46
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.0.5 -> 1.0.6Markus Volk2024-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 1.0.6 (2024-05-09) This is a bugfix release that is API and ABI compatible with previous 1.0.x releases. Highlights - A bitfield race was fixed that could cause some crashes or undefined behaviour whem moving nodes between drivers. - Fix to some invalid memory access in the pw-mon and pw-dump. - A regression in kodi with IEC958 formats playback was fixed. - A race in the ALSA plugin was fixed when updating the eventfd. - Improvements and fixes to module-combine-stream. - Negotiation was improved in pipewiresrc. - Some more small fixes and improvements. PipeWire - Context properties are now set early so that client properties can be matched with rules. - A bitfield race was fixed that could cause some crashes or undefined behaviour when moving nodes between drivers. Tools - Fix failure to hide properties in pw-mon. (#3997) - Fix some memleaks and a crash in pw-dump. (#4001) Modules - The combine-stream module now prevents resampling to avoid broken audio because of different samplerates. - Fix a potential double free in module-loopback when calculating the delay. (#3748) - The FFADO module now only starts when ports are negotiated to avoid startup races. (#3968) - The combine-stream module will now forward tags. SPA - Monitor volumes are now also clamped to the min/max volumes. (#3962) - V4l2 and libcamera now encodes the device ids into a JSON array. This is part of the deduplication code of devices. - A regression in kodi with IEC958 formats playback was fixed. Bluetooth - Improved buffer handling and queued data when stopping. ALSA - A race was fixed when updating the eventfd. (#3711) GStreamer - Handle some errors better instead of crashing. (#3994) - Fix a memleak in the stream params handling. - Negotiation was improved in pipewiresrc. 0 Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.0.4 -> 1.0.5Markus Volk2024-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 1.0.5 (2024-04-15) This is a bugfix release that is API and ABI compatible with previous 1.0.x releases. Highlights - pw_stream can now report timestamps on buffers and the expected amount of samples for the resampler. - The GStreamer element now has more correct timestamps using the new pw_stream timestamps as a fallback. - The FFADO module now handles suspend and resume better. - A regression in v4l2 was fixed when parsing malformed filters. - A potential memory/fd leak was fixed in client-node. - Many more small bugfixes and improvements. PipeWire - pw_stream now reports the expected resampler input or output size in the pw_time structure. (#3750) - pw_stream now also adds a time field to the buffer, which contains the time of the graph when the buffer was received in the stream. - Fix a compiler error when compiling with -Werror=shadow. (#3915) - The config parser will warn when invalid config is detected. Modules - The FFADO module now opens and closes when suspending. This fixes some problems when FFADO properties are changed while suspended. (#3558) - Filter-chain will now warn when invalid config is detected. - Echo-cancel will now handle manage the state of the echo-cancel plugin better, making sure run() is not called after deactivate(). - Fix some potential memory/fd leaks in client-node. SPA - Improve reading the bound ALSA controls. - The resampler can now also report the number of expected output samples. - The ALSA ACP device objects have some more properties like the card.id and alsa.components. (#3912) - Fix a potential string corruption when parsing JSON strings. - V4l2 now sets the latency on the port. (#3910) - alsa-udev now has an option to expose the device even if busy. (#3914) - Improve null-audio-sink channel handling. (#3931) - v4l2 will now drop the first frame because it often contains wrong timestamps or garbage. (#3910) - A regression in v4l2 was fixed where invalid/empty properties in the filter would make it error early. (#3959) GStreamer - The source now falls back to the new pw_buffer time for the timestamps. Docs - Sync with the master branch. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.0.3 -> 1.0.4Markus Volk2024-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bugfix release that is API and ABI compatible with previous 1.0.x releases. 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. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.0.1 -> 1.0.3Markus Volk2024-02-092-87/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove fd33d2d3bb6333c7d6e74cbaa806bff2d908f589.patch PipeWire 1.0.3 (2024-02-02) This is a quick bugfix release that is API and ABI compatible with previous 1.0.x releases. Highlights - Fix ALSA version check. This should allow the alsa plugin to work again. - Some small fixes and improvements. PipeWire - Escape @DEFAULT_SINK@ in the conf files. Modules - Improve logging in module-pipe-tunnel. SPA - Always recheck rate matching in ALSA when moving drivers. This fixes a potential issue where the adaptive resampler would not be activated in some cases. ALSA - Fix version check. This should allow the alsa plugin to work again with version 1.0.2. Older versions: PipeWire 1.0.2 (2024-01-31) This is a bugfix release that is API and ABI compatible with previous 1.0.x releases. Highlights - Fix v4l2 enumeration with filter. This should fix negotiation in some GStreamer pipelines with capsfilter. Also probe for EXPBUF support before using it. - Fix max-latency property and Buffer param when dealing with small ALSA device buffers. This should fix stuttering with some AMD based soundcards. - More small cleanups an improvements. Modules - Improve netjack2 channel positions. - Improve RAOP module state after suspend/resume. (#3778) - Avoid crash in some LV2 plugins by configuring the Atom ports. (#3815) SPA - Bump libcamera requirements to 0.2.0. - Try to avoid unaligned load exceptions. (#3790) - Fix v4l2 enumeration with filter. (#1793) - Fix max-latency property and Buffer param when dealing with small ALSA device buffers. This should fix stuttering with some AMD based soundcards. (#3744,#3622) - Add a resync.ms option to node.driver to make it possible to resync fast to clock jumps. - Probe for EXPBUF support in v4l2 before using it. (#3821) pulse-server - Also emit change events when the port list change. Bluetooth - Log a more verbose explanation when other soundservers seem to be interfering with bluetooth. - Add quirks for Rockbox Brick. (#3786) - Add quirks for SoundCore mini2. (#2927) JACK - Improve check for the running state of clients. (#3794) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: fix build with libcamera-0.2Markus Volk2024-01-272-1/+86
| | | | | | | | | | | Add a backport patch to fix this issue with libcamera-0.2: | In file included from ../git/spa/plugins/libcamera/libcamera-source.cpp:188: | ../git/spa/plugins/libcamera/libcamera-utils.cpp:719:9: error: 'Transform' does not name a type https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3782 Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 1.0.0 -> 1.0.1Markus Volk2024-01-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bugfix release that is API and ABI compatible with previous 1.0.x releases. - Work around the buggy ALSA backend in libcanberra by forcing the pulse backend in module-x11-bell. - Fix a race in the device info updates in pulse-server. - Fix timing and rate matching in ALSA sequencer. - Improve timing information in JACK and from the ALSA driver. - More small fixes and improvements. - Fix a build issue when examples where disabled. - Avoid some compiler warnings. - Avoid some bitfield data races. (#3706) - Bump the PTP driver priority. (#3217) - Support the previous "allowed" permission in the access module. - Fix filename leak in module-filter-chain. - Work around the buggy ALSA backend in libcanberra by forcing the pulse backend in module-x11-bell. (#3688) - Fix a race in the device info updates in pulse-server. - Fix compatibility in RAOP. (#3698) - Handle ALSA picth control errors correctly - Clamp buffer-frames correctly. (#3000) - Fix timing and rate matching in ALSA sequencer. (#3657) - Revert a commit that could result in current time in the future in the timing updates. - Improve adapter state checks. - Remove the timer from the ALSA pcm. - Fix timeout in freewheel driver. - Also handle active ports for monitor sources. - Fix zeroconf-publish format properties. - Improve timing and transport calculations. - Handle -ENOENT from the core and don't error out. - Handle node port removal in the device provider. (#3708) - Improve error handling while connecting. - Fix dts_offset. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "libcamera: skip until upstream resolves python 3.12 compatibility"Khem Raj2023-12-301-1/+1
| | | | This reverts commit dd402176a6e28df76e4b737cec7d266b5bfbfa06.
* libcamera: skip until upstream resolves python 3.12 compatibilityAlexander Kanavin2023-12-181-1/+1
| | | | | | | | I'd note that imp module has been deprecated for years, so that's what happens when deprecation warnings are ignored. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: upgrade 0.3.85 > 1.0.0Markus Volk2023-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PipeWire project is immensely proud to announce the 1.0 release of PipeWire. It is API and ABI compatible with previous 0.3.x releases. "PipeWire represents the next evolution of audio handling for Linux, taking the best of both pro-audio (JACK) and desktop audio servers (PulseAudio) and linking them into a single, seamless, powerful new system." - Paul Davis, JACK and Ardour author "What exciting times! PipeWire 1.0 is the culmination of 15 years of Linux audio expertise, blending lessons from PulseAudio into a high-performance, flexible, and user-friendly foundation for audio and multimedia on Linux. I'm looking forward to the next decade of progress in the free software consumer and professional audio space!." - Arun Raghavan, PulseAudio developer/maintainer. "I'm thrilled to witness the first stable release of PipeWire after five years of collaboration with its remarkable community, pushing the boundaries of multimedia integration in the Linux ecosystem one step further.” - George Kiagiadakis, WirePlumber author "From the beginning of the libcamera project, we have always seen PipeWire as the solution to handle desktop and mobile integration and give a seemless multimedia integration to users while providing security features and resource sharing between applications." - Kieran Bingham, libcamera author Happy Holidays! Highlights - Fix a memfd/dmabuf leak when uploading buffers while shutting down. - Handle concurrent jack_port_get_buffer() calls because ardour seems to be doing this. - Improve time reporting (less jitter) in ALSA when using IRQ. - Many doc improvements. PipeWire - Respect PIPEWIRE_DLCLOSE everywhere, remove pw_in_valgrind(). - Remove a warning when a client tries to change ignored properties. Modules - Fix a memfd/dmabuf leak when uploading buffers while shutting down. - Fix a potential segfault when copying mix structures. (#3658) - Avoid races in setrlimit in module-rt. - Fix a memory leak in filter-chain. - Set rtp.ptime on senders, not receivers. - The ROC modules were ported to ROC 0.3 SPA - Improve time reporting (less jitter) in ALSA when using IRQ. (#3657) - Add latency param query in libcamera. - Fix some compiler warnings. - The EVL plugin was updated. Bluetooth - LC3 codec and compatibility improvements. Pulse server - Fix emission of events when a sink/source state changes. (#3660) JACK - Improve transport and time handling. Use unique ids to make consistent snapshots of the current time and transport. - Avoid enumerating port params that we are not going to use. - Optimize buffer reuse. - Handle concurrent jack_port_get_buffer() calls because ardour seems to be doing this. (#3632) Docs - Many doc improvements. - Add man pages for pw-dump, pw-loopback, modules, pipewire-pulse. - Manpages are now made with Doxygen. - Add docs for pulse-modules Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Upgrade 0.3.84 -> 0.3.85Markus Volk2023-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 0.3.85 (2023-11-16) This is the fifth (and last) 1.0 release candidate that is API and ABI compatible with previous 0.3.x releases. Highlights - Fix an issue where a link could end up paused while not negotiated. - Fix an infinite recursion issue when finding runnable nodes. - Support XDG base directories when loading ACP config. - Fix MIDI event recording preview in Ardour. - Many more small fixes, cleanups and improvements. PipeWire - Fix an issue where a link could end up paused while not negotiated. (#3619) - Fix an infinite recursion issue when finding runnable nodes by stopping the scan on feedback links around the driver. (#3621) - The system service now has better socket permissions. Modules - Add support for uclamp. This allows the scheduler to make better informed decisions about where tasks should be placed, and what pstate to set for the CPU it is running on. - Emit warnings when applications are not doing the right locking instead of crashing. - Improve media.name for RAOP sinks. (#3801) - Support pause/resume in pipe-tunnel. (#3197) - Remove time rlimit when probing for realtime to avoid SIGXCPU. SPA - Fix a bug where the resampler would be activated even when there is an ALSA pitch element. (#3628) - Improve resume from suspend in ALSA. (#3646) - Add option to expose ALSA controls as prop params. - Support XDG base directories when loading ACP config. This makes it possible to override the ACP config files. Bluetooth - Schedule nodes in the same ISO group together. - More BAP fixes and cleanups. JACK - Fix MIDI events from peer ports. This makes the MIDI event recording preview of Ardour work correctly. GStreamer - Fix some error handling in the source and sink. ALSA plugin - Improve poll descriptor handling. (#3648) Docs - Many improvements to the layout and organization. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* remove unused AUTHOR variableMarkus Fuchs2023-11-081-1/+0
| | | | | | | | | No longer used in generating packages Also creates a possible confusion with the recipe maintainer name. Signed-off-by: Markus Fuchs <mklntf@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Update 0.3.83 -> 0.3.84Markus Volk2023-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 0.3.84 (2023-11-02) This is the fourth 1.0 release candidate that is API and ABI compatible with previous 0.3.x releases. Highlights - Fix a regression with openal because the queued buffers in the stream were not reported correctly. - Fix a bug in port busy counters that could cause random silent links. - Fix a regression in echo-cancel because it was not reporting its streams as ASYNC. - Fix a JACK regression where not all ports were enumerated in all cases. - Many more fixes and improvements. PipeWire - pw_stream now reports the queued buffers more accurately. This fixes a regression when using openal. (#3592) - The port busy counters were not updated correctly in some cases. This could lead to negotiation errors and silent links. (#3547) - Ignore latency maximum when forcing rate/quantum. (#3613) - Nodes can now be added to multiple groups and link-groups. (#3612) Modules - The filter-chain now also handles notify port dependencies correctly. (#3596) - Filter-chain has support for new linear, clamp, recip, exp, log, mult, sine builtin plugins. - The echo-cancel module now correctly reports its playback and capture streams as ASYNC to avoid running out of buffers. (#3593) - It is now possible to specify an array of remote names to connect to with the native protocol. - module-rtp-sap and module-rtp-sink now try to bind to the specified interface. SPA - The alsa plugin now removes the runtime properties such as period-num, period-size and max-latency when suspended. (#3613) Bluetooth - BAP Locations/Context is now set on endpoints as required by new bluez. - Improve selection of BAP leader. JACK - Add a jack_set_sample_rate() extension function. - Make sure we get the info of all nodes/ports before completing the jack_client_open() operation so that we can enumerate the ports correctly in all cases. (#3618) GStreamer - Fix types of metadata in pipewiresink. - Also copy metadata in buffers in all cases. - Fix size allocation in bufferpool for compressed formats. - Don't stop streaming thread when unlinked. (#3620) ALSA - The ALSA plugin now handles NULL values from mmap_areas. (#3600) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Update 0.3.81 -> 0.3.83Markus Volk2023-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PipeWire 0.3.83 (2023-10-19) This is the third 1.0 release candidate that is API and ABI compatible with previous 0.3.x releases. Highlights - A quantum change regression was fixed. - Use a 2 socket server now for the manager and the applications with (when wireplumber is updated) different permissions. - Reduce memory usage a little in audioconvert and use fewer buffers. - Some JACK deadlocks were fixed. - More bugfixes and improvements. PipeWire - Fix quantum change regression. (#3574) - Use a 2 socket server by default. One for the session-manager and one for applications. - Fix a potential use-after-free in node and device cleanup. (#3588) modules - Some hardcoded buffer size limits were removed. - Fix ASYNC flag on combined-streams. - Add support for on-demand combined-streams using metadata. SPA - alsa-udev will now ignore PCMs with the ACP_IGNORE udev environment variable. (#3570) - The audioadapter now uses at least 2 buffers when the follower is async. - The number of buffers used by plugins was tweaked a little. Most plugins now only ask 1 buffer. - Memory usage in audioconvert was reduced. - Fix some unaligned reads and writes and undefined left shifts reported by ASAN. (#3572) - Rework vulkan dependency checking. - Don't try to link ALSA devices when prepare fails. This fixes some crashes. - Fix a stall when the allowed codecs are changed in ALSA. - Improve ALSA rate control for sources to avoid xruns. (#3584) - Try to fix IEC958 TrueHD and DTS playback. (#2284) Bluetooth - Improve fallback SCO mtu when the kernel doesn't tell us. JACK - The fixed buffer size limit was removed. - Add an option to make input buffers writable (default true). - A potential deadlock was fixed when applications lock the process function. (#3585) - Use a separate thread to dispatch notifications to avoid deadlocks. (#3585) - Potentially fix silent export in ardour in some cases. (#3514) Older versions: PipeWire 0.3.82 (2023-10-13) This is the second 1.0 release candidate that is API and ABI compatible with previous 0.3.x releases. Highlights - Fix a regression in some devices when the Pro-Audio profile was selected. Only enable the IRQ based scheduling and device linking in specific safe cases. (#3556) - Improve rate switching. In some cases the graph rate would not switch correctly. (#2929) - Fix regression in alsa wakeups that would cause silence in VMs. - Fix a leak in the SBC codecs for SCO. - More improvements to the RAOP module. - Other small improvements and fixes. PipeWire - Improve client property checks. - Allow non-power-of-2 quantums when forced. - Improve rate switching. In some cases the graph rate would not switch correctly. (#2929) - The PIPEWIRE_QUANTUM env variable now forces the size and rate in the graph for the duration of the application. The softer PIPEWIRE_LATENCY and PIPEWIRE_RATE can still be used to merely suggest a maximum latency and a rate. modules - Remove the RTSP FLUSH request in RAOP because it does not seem necessary. - The RAOP module now uses the common RTP stream functions. - Add sockets option to protocol-native to make pipewire listen on multiple sockets. SPA - Clean up some of the log functions. - Add an option in ALSA to disable linking devices together. - Only link pcms together when 1 capture and 1 playback pcm. For more complex devices we can't be sure which ones can be linked. (#3556) - disable tsched only when using linked devices. - Add some extra checks in ALSA to avoid segfaults. (#3554) - Add Tag support to alsa-sink and alsa-source. - Use dynamic pod builder when we can. - Set priority.driver on midi-bridge to allow it as a fallback driver. (#3562) - Fix regression in alsa wakeups. (#3565) - The PTP clock can now be found from the interface in node-driver. pulse-server - Some small cleanups and internal improvements. - Add some memory debugging messages. - Add Tag messages to streams. Bluetooth - Fix a leak in the SBC codecs for SCO. JACK - Patch up midi events in the destination buffer instead of writing to the source buffer. (#3580) - Group all jack clients together to avoid transport issues. (#3562) ALSA-plugins - Add also.deny option to block alsa clients from opening the PCM. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Upgrade 0.3.80 -> 0.3.81Markus Volk2023-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first 1.0 release candidate that is API and ABI compatible with previous 0.3.x releases. - jackdbus support is now enabled by default. - IRQ based scheduling in ALSA was improved and enabled by default for Pro-Audio profile. It will also link the pcms together to get lower latency. This now matches what JACK does and gives equal latency to PipeWire for Pro-Audio profiles. - Support both old and new versions of webrtc-audio-processing to make the transition easier. - Forced quantum changes by nodes or metadata will now also force a suspend and resume of the graph, like the rate changes to make sure all nodes adapt to the new quantum. This is important for Pro-Audio nodes that need to reconfigure the hardware to a new period in IRQ based scheduling. - Fix a regression in regex parsing. - Many bugfixes and improvements. - jackdbus is by default enabled now. The idea is that when jackdbus is installed, the real libjack.so is in the path and we can become a real JACK client. - Forces quantum changes by nodes or metadata will now also force a suspend and resume in the graph, like the rate changes to make sure all nodes adapt to the new quantum. This is important for Pro-Audio nodes that need to reconfigure the hardware to a new period. - The stream now has an EARLY_PROCESS option that can be used to implement custum buffer fill levels. (#3480) - Fix a regression in regex parsing. (#3528) - Fix a bug in position reporting in the driver node. (#3189) (#3544) - Destroying a link will now recalculate the graph correctly. - Fix the rate comparison for finding the best rate in the graph. - Use malloc_trim() when available to release memory. (#1840) - pw-cat now supports DFF DSD files. - pw-cli avoid some NULL derefs in some cases. - The RAOP sink has seen some cleanups and improvements. It will now ask for feedback every 2 seconds to keep some devices alive. - A bug in filter-chain was fixed where it would fail to apply the gain when mixing just one source. - The filter-chain can now pass the stream volume to a control in the filter-chain graph. (#3434) - Improve volume handling in RAOP sink. - Some cleanup in the pending_stream handling. - Fix a regression in the event emission code where it failed to emit a changed event when a node was linked. (#3522) - Lower the realtime priority of pulseaudio clients. - Set pulse.module.id on the echo-cancel streams. (#3541) - Support both old and new versions of webrtc-audio-processing to make the transition easier. - The ALSA driver now does the sync of all followers directly from the wakeup event. This results in more stable rate matching. - IRQ based scheduling in ALSA was improved and enabled by default for Pro-Audio profile. It will also link the pcms together to get lower latency. This now matches what JACK does and gives equal latency to PipeWire for Pro-Audio profiles. - GNU/Hurd support was added. - Some improvements to passthrough handling. - Improvements to the codec handling when PipeWire is used as Audio Gateway. - Adapt to new Bluez API for BAP devices. - When the jack library is set in the default library path, avoid using LD_LIBRARY_PATH because this can cause confusion. - Handle clearing the latency on a port. - jack_property now always manages to actually change the metadata because it waits for a roundtrip before exiting. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: upgrade 0.3.79 -> 0.3.80Markus Volk2023-09-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bugfix release that is API and ABI compatible with previous 0.3.x releases. - A new Tag param was added that allows arbitrary metadata to be transported out-of-band in the graph. - Vulkan DMA buf support was merged. - The echo-canceller was ported to webrtc-audio-processing-1. - Fix a regression in locating monitor sources by id in pulse-server. - Mixer io areas updates are now synchronized correctly with the data thread to avoid potential crashes. - Many more bugfixes and improvements. - Handle driver nodes that refuse to change the quantum or rate. - A new Tag param was added that allows arbitrary metadata to be transported out-of-band in the graph. - The pipe-tunnel source has been reworked to use a ringbuffer and rate adaption to keep the latency constant. It can now also function as a driver to reduce resampling. (#3478) - pw-cat will now place media properties in Tag params. - pw-mon can now filter props and params. - ALSA refuses to change quantum and rate when in IRQ mode. - ALSA will now be smarter in selecting the period size for batch devices and will make it depend on the samplerate. (#3444) - Vulkan DMA buf support was merged. - ALSA latency will now be reported in the time domain of the graph. - Add udev based autodetection for compress-offload devices. - The echo-canceller was ported to webrtc-audio-processing-1. - The v4l2 inotify code was rewritten to avoid a use-after-free and by using a separate watch (but same fd) for each device. (#3439) - The tag and latency handling was improved in audioadpter. - Don't use -Ofast on alpha because it can crash on denormalized values. (#3489) - The mixers now synchronize spa_io_buffers updates with the data thread to avoid crashes. - Handle NULL param updates. (#3504) - Fix a regression in locating monitor sources by id. (#3476) - Add support for use_system_clock_for_timing in module-pipe-sink. - Add support for checking module arguments. - Avoid some useless change events. - Ports are now marked as physical, which makes the bluetooth devices show up as hardware devices in Ardour and other JACK apps. (#3418) - Some fixes for LE audio support (#3479) - Also emit unregister notify even when supressed when creating the client. - The notify callbacks now match JACK2 behaviour more. - The mixer io areas are updated and handled safely now to avoid crashes. (#3506) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: upgrade 0.3.78 -> 0.3.79Markus Volk2023-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a quick bugfix release that is API and ABI compatible with previous 0.3.x releases. - Fix a regression in suspend that could cause silence. - Fix a regression in JACK port registration that could cause all kinds of JACK problems. (#3485) - Fix a typo in the neon sample conversion functions that could cause distortion. - Add BAP broadcast source and sink support. - pw-top now has a batch mode to dump the output to stdout. - Many more bugfixes and improvements. - Fix a regression in shutdown where a node might not first suspend properly. This cause loss of sound in some cases. (#3378) - Failure to compile a regular expression in the config file will now be reported and ! can be used to negate the match. (#3460) - Fix a regression where some nodes might not set running in some cases. - Nodes are now suspended before the format is cleared, which might fix some crashes. - pw-top now has a batch mode to dump the output to stdout. - The queued samples in audioconvert are now correctly reported in the delay. (#3454) - Make it easier to add a custom profile in ACP. - Fix a typo in the neon sample conversion functions that could cause distortion. (#3463) - device.profile.pro=true is added for pro audio nodes. - An xrun counter was added to spa_io_clock to detect and track skipped data because of xruns. - Add alsa-sink and alsa-source modules. (#3456) - Fix a regression where only the BAP off profile is shown. - Add BAP broadcast source and sink support. - Also emit a latency notify when the buffer size changes. - Fix a regression in JACK port registration. (#3485) - jack_port_tie() is now supported. - Improve property handling, support lists and ranges in addition to fixed values. (#3451) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: upgrade 0.3.77 -> 0.3.78Markus Volk2023-08-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a small bugfix release that is API and ABI compatible with previous 0.3.x releases. - An old regression was fixed with where some nodes would not run. - A regression was fixed where removed events would not be shown in some cases. This would result in duplicate entries in audio clients. - Fix an off-by-one in the vban audio receiver. Tweak the rate adaption a little. - ACP will now set a UCM verb before probing the pro-audio devices. - More bugfixes and improvements. - An old regression was fixed with where some nodes would not run. (#3405) - Suspend was improved a little to avoid races when the session manager would suspend right when a driver was starting. - module-rtp-sap does not use the deprecated inet_aton anymore. - Fix an off-by-one in the vban audio receiver. Tweak the rate adaption a little. (#3380) - ACP will now set a UCM verb before probing the pro-audio devices. (#3407) - The mandatory flag will be set now on the video modifiers. - EVL was updated to Xenomai4 r46 and xbuf creation was improved. - An option was added to force colors in the log even when logging to !tty. - The return type of spa_pod_builder_control() was fixed. - inotify errors are handled better now. (#3439) - A regression was fixed where removed events would not be shown in some cases. (#3414) - Improve compatibility with more devices, avoid reusing the same transport for different media-sink instances to avoid encoder resets. - Improve enumeration of codec profiles for BAP and A2DP. - Ensure we can't iterate ports from a deactivated client. Also make sure the JACK clients with the node.always-process=false always show their ports. (#3416) - A potential crash was fixed in the device provider when stopping. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: add support for liblc3Markus Volk2023-08-051-0/+1
| | | | | | | - add liblc3 recipe Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 0.3.75 -> 0.3.77Markus Volk2023-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a quick bugfix release that is API and ABI compatible with previous 0.3.x releases. - Fix a bug in ALSA source where the available number of samples was miscaluclated and resulted in xruns in some cases. - A new L permission was added to make it possible to force a link between nodes even when the nodes can't see eachother. - The VBAN module now supports midi send and receive as well. - Many cleanups and small fixes. - Global objects now only show permissions that apply to them. The permissions required to perform various API calls are documented. - A new L permission was added to make it possible to force a link between nodes even when the nodes can't see eachother. - Config files need to end with .conf. - The client.api is added the to global properties of a node. - The VBAN module now supports midi send and receive as well. - Fix module-profiler alignment and make sure we don't overrun our buffers with many nodes. - Protect libcanberra calls with a mutex because it is not thread safe. (#2834) - Support older compilers for spa_clear_ptr(). - Fix a bug in ALSA source where the available number of samples was miscaluclated and resulted in xruns. (#3395) - Don't set inotify on /dev but on the videoX devices directly. Setting inotify on /dev would cause a lot of spurious wakeups and lock contention in the fsnotify subsystem on some benchmarks. - Audioconvert now rate limits the warnings when it runs out of buffers. (#3384) - Some bugs and inconsistencies were fixed in device lookup. - Improve subscribe event emission, detect changes to the sink or the monitor and send the right sink/source event. (#3388) - The libjack.so now has a minor version of 3 and a micro version of the pipewire version. - JACK clients will now see portregistration from other jack clients when they activate/deactivate like real JACK. (#3260) - Use some more autoptr cleanups, fix some leaks. Older versions: This is a quick bugfix release that is API and ABI compatible with previous - LE Audio support is now enabled by default when liblc3 is available now that bluez has support for detecting the hardware features. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* remove unused AUTHOR variableMichael Opdenacker2023-08-031-1/+0
| | | | | | | | | No longer used in generating packages Also creates a possible confusion with the recipe maintainer name. Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: update 0.3.73 -> 0.3.75Markus Volk2023-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bugfix release that is API and ABI compatible with previous 0.3.x releases. - Link permissions between nodes are now enforced. This avoids potential portal managed screencast nodes to link to the camera even though it was not assigned permissions to do so by the session manager. - Libcamera and v4l2 devices now have properties so that duplicates can be filtered out by the session manager. - A bug with draining was fixed where a buffer would be marked EMPTY and would not play when it contained drained samples. (#3365) - Many fixes and improvements. - Permissions for links between nodes are now enforced. The link will now check that the owner clients of the nodes can see eachother before allowing the link. This avoids screensharing clients to accidentally being linked to the camera nodes by the session manager. A side effect is that patchbay tools will no longer be able to link portal managed screencast nodes to the camera, for this we need a new permission for those patchbay clients. (wireplumber#218) - The stream.rules/filter.rules are now evaluated when connecting the stream/filter so that more properties can be matched. (#3355) - Move some internal events from the context to the nodes to better handle per-node threads in the future. - The thread-loop will now signal when the thread is started. - A timestamp workaround in module-raop was reverted because it does not work in all cases. Instead latency was increased to 1.5 seconds, which also makes the problematic device in question work. (#3247) - The profiler module was reworked a bit to use the new node realtime events. It should now also handle dynamically added and removed drivers. - The module-rt now does the rtkit calls from a separate thread so that it does not block the main thread. This could cause deadlocks during startup in some cases. (#3357) - Atomic operation macros were move from internal pipewire API to public API. - The video-info structure now has a new SPA_VIDEO_FLAG_MODIFIER_FIXATION_REQUIRED flag to instruct the application to fixate the modifiers. This simplifies some logic in applications a lot. - The libcamera and v4l2 nodes now have properties to enumerate the device id they are using. This can be used to match v4l2 devices and libcamera devices and filter out duplicates. - A bug with draining was fixed where a buffer would be marked EMPTY and would not play when it contained drained samples. (#3365) This is a quick bugfix release that is API and ABI compatible with previous - Merge scope based cleanup macros. - Add ratelimit function. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: upgrade 0.3.72 -> 0.3.73Markus Volk2023-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bugfix release that is API and ABI compatible with previous 0.3.x releases. - Fixes an ALSA resume after suspend error. - Handle and disable seemingly wrong hires timestamps from ALSA. - Filter-chain now has loadable plugin modules. The LV2 and sofa plugins are moved to a separate .so file to make things more modular. - Rate changes in the graph should now be handled more gracefully by loopback and filter-chain. - A regression in the rtp-sap module was fixed where it would in some cases fail to start. - A potential crash in the peaks resampler was fixed. - Many cleanups and other small bug fixes. - Fix a potential segfault when no fallback driver was set in the config. - Improve OPUS detection. - Add ASYNC flag to pw-filter and pw-stream when queue/dequeue is not called from the process function. This ensure we allocate an extra buffer. - Discard pending process callbacks when disconnecting. (#3314) - Cleanups and improvements to the debug environment variable parsing. - The graph rate was tweaked to better handle very low rates such as those requested by pavucontrol when it does the signal monitoring. - An example filter module was added. - Filter-chain and loopback now disable the resamplers if no rate is specified and will always follow the graph rate. - Improve setup of filter-chain. The graph is now created when starting because this ensure the target graph rate is known. - Filter-chain can now link notify ports to control ports in the graph. - Filter-chain now has loadable plugin modules. The LV2 and sofa plugins are moved to a separate .so file. - A regression in the rtp-sap module was fixed where it would in some cases fail to start. - Module-rt now has options to disable rlimits, portal and rtkit. - module-raop-discover now has an options to set the latency. (#3247) - pw-cat now supports overriding all stream properties. - Disable rate negotiation when the resampler is disabled. We will always follow the graph rate. - Set device.icon property for UCM ports as well. - Improve ALSA recover when using hires timestamps. This fixes some problems after resume from suspend. (#3315) - ALSA will now warn and disable hires timestamp when they seem wrong. They can also be disabled manually with a property. - V4l2 will now gracefully handle ENOTTY when enumerating frame sizes and frame rates. (#3325) - A potential crash in the peaks resampler was fixed. (#3320) - A client crash in pavucontrol is avoided by always setting a card name. - The graph rate is now taken correctly when using the FIX flags. (#3317) - An option was added to ignore the FIX flags of a stream. Also the documentation for those options was updated. (#3317) - module-raop-discover now support latency_msec. (#3247) - Remove an assert and issue a warning/recover instead when a buffer is too small. - The device provider does locking when destroying the registry. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>