Files
SDL/src
Ryan C. Gordon 32cc92dceb pipewire: i/o callbacks should avoid higher-level iteration during device open.
Sometimes these callbacks will fire while we're still waiting on state to
settle down in PIPEWIRE_OpenDevice, which means we're holding the device lock,
but then the i/o callback will fire from a background thread and also try to
grab the device lock, but can't, because PIPEWIRE_OpenDevice is holding it and
waiting for this i/o callback to finish...hence, a deadlock.

So now, if the device is still opening, output callbacks will write silence
and input callbacks will just flush the buffer, without calling the main
iterate function, and thus avoid obtaining the lock.
2024-11-12 15:18:41 -05:00
..
2024-10-17 10:24:17 -07:00
2024-10-30 12:01:51 -07:00
2024-10-09 09:49:10 -07:00
2024-10-21 14:23:29 -07:00
2024-08-22 13:30:02 -07:00
2024-10-13 09:26:25 -07:00
2024-08-22 13:30:02 -07:00