pipewire/spa/plugins/support
Barnabás Pőcze bf886ba209 support: also protect against recursive invocations
Add an extra private field to the source to store the pollevent of
the current iteration. This changes ABI but it seems an embedded source
is not used outside of our own plugins and the unit test doesn't test
this ABI case.

Whenever a source is removed, we can set the data field of the
pollevent to NULL so that it won't be handled in any iteration anymore.

Avoid dispatching the same event multiple times when doing recursive
iterations.

Add some more unit tests for this.

Fixes #2114
2022-02-08 17:21:10 +01:00
..
cpu-arm.c cpu: disable VFP asm when not available 2021-10-25 16:32:16 +02:00
cpu-x86.c cpu: only run SSE code when supported 2021-11-02 20:12:35 +01:00
cpu.c cpu: fix compilation on some architectures 2021-10-21 11:09:48 +02:00
dbus.c dbuf: use log topic 2021-10-03 12:27:20 +02:00
evl-plugin.c Add evl system support 2019-06-24 09:42:05 +02:00
evl-system.c treewide: replace strcmp() == 0 with spa_streq() 2021-05-18 22:10:27 +10:00
journal.c spa: support: do not include C source file 2021-09-29 15:07:36 +00:00
log-patterns.c json: spa_json_get_string() writes up to len chars or fail 2022-01-04 10:42:32 +01:00
log-patterns.h spa: support: do not include C source file 2021-09-29 15:07:36 +00:00
logger.c support: close log file when we opened it 2022-02-08 11:30:39 +01:00
loop.c support: also protect against recursive invocations 2022-02-08 17:21:10 +01:00
meson.build treewide: meson.build: use feature.allowed() 2022-02-04 00:15:59 +01:00
node-driver.c support: add property to configure clock name 2021-12-10 11:22:23 +01:00
null-audio-sink.c Use configured quantum_limit instead of hardcoded value 2022-01-12 17:50:12 +01:00
plugin.c support: add null audio sink 2020-08-20 18:00:00 +02:00
system.c spa: sprinkle more log topics into spa 2021-09-28 09:35:39 +02:00