mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
When we clear the port io, pause the core until the invoke call completed. This way we don't start processing other messages until we have safely removed the port io. Normally, when clearing a link on a port, first the mix io will be set to NULL and then the format will be cleared, which clears the buffers as well. By delaying the processing of the format clear until the io is removed from the data thread we avoid taking away the buffer memory from the processing thread prematurely. When creating a link, first the format and buffers are configured and then the io is set, which should be safe in all cases. See !1915 |
||
|---|---|---|
| .. | ||
| examples | ||
| jack | ||
| src | ||
| meson.build | ||