mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-20 00:11:31 +00:00
faaf84286b
Reorganize some things, let the clients update the segment info in their own activation, then let the server merge it. This avoids clients stepping on eachother. When looping through the clients, copy the segment info when we encounter its owner. Remove the list of segment owners to the activation. This is better than in the activation because we can then just keep one list of owners. Remove the NONBLOCK flag from the eventfd so that we can do blocking reads as well. Just keep a reposition owner in the driver activation. This points to the node that has the reposition info. This avoid complicated synchronization to keep multiple nodes from stepping on eachother. Now they can just prepare the reposition info in their activation and set themselves as the reposition owner. The last one who succeeds wins.
11 lines
354 B
Plaintext
11 lines
354 B
Plaintext
tree 1f3f91d752926c873281d285ca8bd6bd7749462c
|
|
parent 926b500ceb030348a97adf33f391075cafaf6616
|
|
author Wim Taymans <wtaymans@redhat.com> 1567418554 +0200
|
|
committer Wim Taymans <wtaymans@redhat.com> 1567418554 +0200
|
|
|
|
jack: fix for transport changes
|
|
|
|
Fix for the new transport.
|
|
Refactor some of processing code to match jack_cycle_wait and
|
|
jack_cycle_signal
|