mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-14 20:02:38 +00:00
552bca8595
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. |
||
---|---|---|
.. | ||
alsa-plugins | ||
conf | ||
tests |