pipewire/spa/plugins
Wim Taymans 05ae8a24de loop: make safe version of befor and after signal
Use a safer version of the before and after hooks. First call
all before hooks and save them in reverse order in a save list.
Then call the after event for the ones remaining in the save list
and move them back to the hook list.

This makes it possible to remove the hooks from one the callbacks or
even from other threads with the right locks. Found as a solution to
the following problem as observed in vlc:

main thread                            thread_loop

pw_thread_loop_lock()            before hook: lock suspend thread
pw_context_destroy()
  - removes before hook to flush clients
pw_thread_loop_unlock()
                                 before hook: lock acquired, resume
				 before hook: flush client hook executed
				   *crash*

pw_thread_loop_stop()
pw_thread_loop_destroy()

Any of the safer cursor methods (like spa_hook_list_call()) would also
work but are more expensive and don't reverse the before/after
order.
2020-09-15 20:13:32 +02:00
..
alsa alsa: don't change the resampler delay value 2020-09-15 13:22:41 +02:00
audioconvert resample: reset resample state when starting 2020-09-15 13:22:41 +02:00
audiomixer improve debug 2020-04-22 12:47:18 +02:00
audiotestsrc audiotestsrc: fix function signature 2020-05-12 17:23:35 +02:00
bluez5 a2dp: try to completely process the queue 2020-09-02 17:51:33 +02:00
control tweak buffers a little 2020-02-19 10:17:00 +01:00
ffmpeg ffmpeg: fix install dir 2020-01-30 17:50:45 +01:00
jack profile: refactor code to make EnumProfile and Profile params 2020-08-17 11:08:26 +02:00
libcamera libcamera: cleanup build warnings 2020-06-16 17:53:54 +00:00
support loop: make safe version of befor and after signal 2020-09-15 20:13:32 +02:00
test improve debug 2020-04-22 12:47:18 +02:00
v4l2 v4l2: remove format checks 2020-06-18 18:26:00 +02:00
videoconvert Improve naming 2020-08-06 13:49:33 +02:00
videotestsrc improve debug 2020-04-22 12:47:18 +02:00
volume improve debug 2020-04-22 12:47:18 +02:00
vulkan vulkan: check results of stat 2020-05-20 15:24:25 +02:00
meson.build Integrating libcamera 2020-06-04 10:36:39 +02:00