pipewire/pipewire-alsa
Erik Fröbrant 552bca8595 pcm_pipewire: optimize by updating existing stream
pw_stream_connect can take a very long time to finish connecting. This
process continues after snd_pcm_pipewire_prepare has released lock on
pw->main_loop and during this time the device returns EBUSY on write
attempts. This adds a significant latency to playback compared to pre-
pipewire configurations. This is a problem when using for example
Gstreamer alsasink with tight time synchronization options since
GstAudioBaseSink keeps track of internal time by counting processed
samples. Also worth noting is that alsasink calls prepare often,
for example on receiving a caps event.

With this change an existing pipewire stream will be updated rather than
destroyed and re-created when prepare is called.
2022-10-06 15:13:03 +00:00
..
alsa-plugins pcm_pipewire: optimize by updating existing stream 2022-10-06 15:13:03 +00:00
conf alsa: rework parameter handling 2022-09-20 16:24:21 +02:00
tests tests: Add pipewire-alsa stress test 2021-12-15 16:13:08 +01:00