pipewire/spa/plugins
Pauli Virtanen cd166ac899 bluez5: don't use spa_invoke from data loop to main loop
spa_loop_invoke from data loop to main loop is not OK, as Wireplumber
currently runs its main loop with "pw_loop_enter(); pw_loop_iterate();
pw_loop_leave();" which causes the loop to be entered only when it is
processing an event.

In this case, part of the time the loop impl->thread==0, and calling
spa_loop_invoke() at such time causes the callback to be run from the
current thread, ie. in this case data loop which must not happen here.

Fix this by using eventfd instead, which is safe as the callback always
runs from the main loop.

Eventfd is also slightly more natural here, as multiple events will
group to the same mainloop cycle.
2024-04-13 15:54:22 +03:00
..
aec spa: export log topic enumerations 2024-01-04 10:02:55 +00:00
alsa alsa-pcm: set threshold to final value before set_swparams is called 2024-04-09 09:03:49 +00:00
audioconvert spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
audiomixer spa: export log topic enumerations 2024-01-04 10:02:55 +00:00
audiotestsrc spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
avb spa: small cleanups 2024-01-10 15:51:01 +01:00
bluez5 bluez5: don't use spa_invoke from data loop to main loop 2024-04-13 15:54:22 +03:00
control spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
ffmpeg spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
jack spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
libcamera libcamera: add camera rotation property on nodes 2024-03-31 13:24:19 +02:00
support spa: improve null-audio-sink channels 2024-03-28 17:11:16 +01:00
test spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
v4l2 v4l2: handle empty properties gracefully 2024-04-10 11:06:44 +02:00
videoconvert videoconvert: Enable loading external converter plugins 2024-01-22 13:59:16 +00:00
videotestsrc spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
volume spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
vulkan vulkan: Complete vulkan_pass 2024-04-09 09:05:03 +00:00
meson.build meson: fix build with missing libudev-devel 2024-02-06 11:49:40 +01:00