diff --git a/_service b/_service
index 8d2b527..582d5ca 100644
--- a/_service
+++ b/_service
@@ -3,7 +3,7 @@
git
https://gitlab.freedesktop.org/pipewire/pipewire.git
- refs/tags/0.3.33
+ refs/tags/0.3.34
@PARENT_TAG@
diff --git a/pipewire-0.3.33.obscpio b/pipewire-0.3.33.obscpio
deleted file mode 100644
index 14aba45..0000000
--- a/pipewire-0.3.33.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:162d8e72542363ab327fa3da5eb1941a42043175549d77950dd735d7eb76fabf
-size 9826317
diff --git a/pipewire-0.3.34.obscpio b/pipewire-0.3.34.obscpio
new file mode 100644
index 0000000..be67b2e
--- /dev/null
+++ b/pipewire-0.3.34.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3b017406efa1a795fe9413591824a4f2a328eb941feda8a25d93da3032213b5d
+size 10213901
diff --git a/pipewire.changes b/pipewire.changes
index 9023976..7fce251 100644
--- a/pipewire.changes
+++ b/pipewire.changes
@@ -1,3 +1,117 @@
+-------------------------------------------------------------------
+Fri Aug 27 08:33:01 UTC 2021 - Antonio Larrosa
+
+- Add BuildRequires: pkgconfig(libcap) since it's being searched
+ by the build scripts.
+- Replace BuildRequires: pkgconfig(libopenaptx) with libfreeaptx
+ since openaptx has a license issue
+- Use bcond_with to enable/disable the usage of libcamera
+ (the defaults are not changed: it's disabled in Leap since
+ upstream doesn't recommend enabling it yet and enabled in TW
+ since we can allow some experimental support there)
+- Changes suggested by darix.
+
+-------------------------------------------------------------------
+Thu Aug 26 12:27:15 UTC 2021 - Antonio Larrosa
+
+- Update to version 0.3.34:
+ * Highlights
+ - Fixes some critical issues with previous release. Such as
+ devices not showing up and default devices being lost.
+ - Support for consumer driver streams to make the producer
+ v-sync to the consumer monitor in a headless compositor
+ setup.
+ - Improvements to routing of streams.
+ - Bluetooth battery status support for head-set profile and
+ using Apple extensions. aptX-LL and FastStream codec support
+ was added.
+ - Internal latency of ALSA devices can now be configured.
+ - A fast convolver was added to the filter-chain to implement
+ virtual surround sinks or reverbs.
+ * PipeWire
+ - Add support for streams that are driver nodes for the graph.
+ This was already possible for source streams but it is now
+ also possible for playback streams. This can be used to let
+ a producer v-sync to the consumer monitor in a headless
+ compositor setup. (#1484)
+ - State files are now stored in XDG_STATE_HOME instead of
+ XDG_CONFIG_HOME. They will still be loaded from the config
+ home if they are not in the new state home, to ease
+ migration.
+ - Set a driver on inactive nodes to make transport work in
+ xjadeo. (#1491)
+ - Fix parsing of filter-chain controls.
+ - A new FFT based convolver was added to module-filter-chain.
+ It uses a 0-latency 2 stage convolver with small FFT for the
+ head and a large FFT for the tail of the convolution. A
+ convolution can be used to implement IR based reverbs, HRIR
+ surround sound or other convolution based operations. An
+ example HRIR virtual surround sound sink has been added as
+ well.
+ - module-filter-chain was reworked a bit to support more config
+ options for the plugins.
+ - Endian conversion and alaw/ulaw formats are now supported for
+ streams.
+ - pw-cat will now suggest a samplerate for the graph.
+ - SPA_PLUGIN_DIR can now search in multiple paths separated
+ with a ':'.
+ - Passthrough mode has been worked on and has been partially
+ merged. S/PDIF definitions have been added and ALSA devices
+ updated to report and configure S/PDIF formats. The session
+ manager changes to fully configure and enable passthrough
+ mode will hopefully be merged next time.
+ - Fix a race in pw-stream where it would not always emit the
+ right events.
+ * ALSA
+ - Fix volume changed check. It was checking against the wrong
+ value and this could cause rounding errors.
+ - The ALSA plugin now also uses RT scheduling.
+ - Fix the behringer UMC202 usb device id, it was using a
+ generic TI chip ID that caused problems.
+ - Fix USB devices that don't show up anymore. Use an ALSA
+ workaround to fix this. (#1478)
+ - Add a rule for the new firmware of Sennheiser GSX 1200.
+ - ALSA sink and source can now use ProcessLatency param to
+ configure the internal latency. The latencyOffsetNsec
+ property is also exposed so that the latency can be adjusted
+ in pavucontrol as well.
+ * media-session
+ - Fix a critical issue where the default device was not
+ remembered anymore when it was removed.
+ - Fix the issue where some apps need to be restarted when
+ nodes go away and reappear.
+ - Improve routing of streams. Streams that have a specific
+ target set will now be moved to the target when it appears
+ instead of staying on the fallback.
+ - Small memory leak fixes.
+ - Try to switch back to the user selected profile after
+ finishing a Bluetooth recording.
+ * Bluetooth
+ - Add support for HF indicator 2 battery status.
+ - Add support for XAPL battery status.
+ - Set the Communication intended role for HFP profile.
+ - Enable SBC-XQ by default if not disabled by quirks.
+ - Fix some potential crashes due to excessive polling.
+ - Add aptx-LL codec and enable duplex for aptx-LL devices.
+ - Add FastStream codec. This is a codec that can use a
+ duplex SBC channel.
+ * PulseAudio server
+ - Suggests a samplerate for the graph.
+ - Support for handling S/PDIF (IEC958) formats was added. This
+ will start working when the session manager supports
+ configuring streams and nodes in passthrough mode.
+ - Be smarter when handling devices without a negotiated format
+ yet so that they are visible as well. This makes virtual
+ devices show up immediately.
+ * ALSA plugin
+ - Now suggests a samplerate for the graph.
+ * JACK
+ - The jack.pc file can only be generated with meson >= 0.59.0.
+ When the jack-devel option is enabled, it will generate an
+ error with older meson.
+ - Small stability improvements when connecting/disconnecting in
+ Ardour.
+
-------------------------------------------------------------------
Thu Aug 5 14:54:31 UTC 2021 - Frederic Crozat
diff --git a/pipewire.obsinfo b/pipewire.obsinfo
index b938db4..074f75d 100644
--- a/pipewire.obsinfo
+++ b/pipewire.obsinfo
@@ -1,5 +1,5 @@
name: pipewire
-version: 0.3.33
-mtime: 1628173183
-commit: 8119e5cdb4efc3325f5629cd1afe9957aa5c39dc
+version: 0.3.34
+mtime: 1629975912
+commit: 1924c2c29824955b5e763f1def6967f68e403c7c
diff --git a/pipewire.spec b/pipewire.spec
index 87ee3c6..c536d36 100644
--- a/pipewire.spec
+++ b/pipewire.spec
@@ -29,12 +29,6 @@
%define with_vulkan 0
%endif
-%if 0%{?suse_version} >= 1550
-%define with_libcamera 1
-%else
-%define with_libcamera 0
-%endif
-
%ifnarch s390 s390x ppc64
%define with_ldacBT 1
%else
@@ -43,9 +37,14 @@
%bcond_with aac
%bcond_with aptx
+%if 0%{?suse_version} >= 1550
+%bcond_without libcamera
+%else
+%bcond_with libcamera
+%endif
Name: pipewire
-Version: 0.3.33
+Version: 0.3.34
Release: 0
Summary: A Multimedia Framework designed to be an audio and video server and more
License: MIT
@@ -69,10 +68,11 @@ BuildRequires: xmltoman
BuildRequires: pkgconfig(alsa) >= 1.1.7
BuildRequires: pkgconfig(avahi-client)
BuildRequires: pkgconfig(bluez)
-%if %{with_libcamera}
-BuildRequires: pkgconfig(libcamera)
+%if %{with libcamera}
+BuildRequires: pkgconfig(libcamera) >= 0~2752
%endif
BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(libcap)
%if %{with aac}
BuildRequires: pkgconfig(fdk-aac)
%endif
@@ -96,7 +96,7 @@ BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavfilter)
BuildRequires: pkgconfig(libavformat)
%if %{with aptx}
-BuildRequires: pkgconfig(libopenaptx)
+BuildRequires: pkgconfig(libfreeaptx)
%endif
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libsystemd)
@@ -347,14 +347,18 @@ export CC=gcc-9
%else
-Dbluez5-codec-ldac=disabled \
%endif
-%if %{with_libcamera}
+%if %{with libcamera}
-Dlibcamera=enabled \
%else
-Dlibcamera=disabled \
%endif
-Dpipewire-jack=enabled \
-Djack=enabled \
- -Djack-devel=enabled \
+%if %{?pkg_vcmp:%{pkg_vcmp meson >= 0.59.0}}%{!?pkg_vcmp:0}
+ -Djack-devel=true \
+%else
+ -Djack-devel=false \
+%endif
%{nil}
%meson_build
@@ -557,11 +561,13 @@ fi
%{_datadir}/pipewire/media-session.d/with-jack
%files libjack-%{apiver_str}-devel
-%{_includedir}/jack
%{_libdir}/pipewire-%{apiver}/jack/libjack.so
%{_libdir}/pipewire-%{apiver}/jack/libjacknet.so
%{_libdir}/pipewire-%{apiver}/jack/libjackserver.so
+%if %{?pkg_vcmp:%{pkg_vcmp meson >= 0.59.0}}%{!?pkg_vcmp:0}
+%{_includedir}/jack
%{_libdir}/pkgconfig/jack.pc
+%endif
%files -n gstreamer-plugin-pipewire
%{_libdir}/gstreamer-1.0/libgstpipewire.so
@@ -628,6 +634,7 @@ fi
%{_datadir}/alsa-card-profile/mixer/*
%dir %{_datadir}/pipewire/filter-chain
%{_datadir}/pipewire/filter-chain/demonic.conf
+%{_datadir}/pipewire/filter-chain/sink-convolver.conf
%{_datadir}/pipewire/filter-chain/sink-dolby-surround.conf
%{_datadir}/pipewire/filter-chain/sink-eq6.conf
%{_datadir}/pipewire/filter-chain/sink-matrix-spatialiser.conf
@@ -641,7 +648,7 @@ fi
%{_libdir}/spa-%{spa_ver}/control/libspa-control.so
%{_libdir}/spa-%{spa_ver}/ffmpeg/libspa-ffmpeg.so
%{_libdir}/spa-%{spa_ver}/jack/libspa-jack.so
-%if %{with_libcamera}
+%if %{with libcamera}
%{_libdir}/spa-%{spa_ver}/libcamera/libspa-libcamera.so
%endif
%{_libdir}/spa-%{spa_ver}/support/libspa-dbus.so
@@ -666,7 +673,7 @@ fi
%dir %{_libdir}/spa-%{spa_ver}/volume
%dir %{_libdir}/spa-%{spa_ver}/ffmpeg
%dir %{_libdir}/spa-%{spa_ver}/jack
-%if %{with_libcamera}
+%if %{with libcamera}
%dir %{_libdir}/spa-%{spa_ver}/libcamera
%endif
%dir %{_libdir}/spa-%{spa_ver}/support