pipewire/spa/plugins/support
Wim Taymans 78f52a7073 loop: avoid corruption of ringbuffer
The ringbuffer can't be written to from multiple threads.

When both the main loop and data thread do _invoke, they both write to
the ringbuffer and cause it to be corrupted because the ringbuffer is
not multi-writer safe.

Doing invoke from the thread itself is usually done to flush things out
so we really only need to flush the ringbuffer and call the callback.

See #1451
2021-07-26 11:39:48 +02:00
..
cpu-arm.c treewide: replace !strcmp() with spa_streq() 2021-05-18 22:10:27 +10:00
cpu-x86.c cpu: detect MMXEXT as well 2018-12-17 13:37:27 +01:00
cpu.c treewide: mark things static and const 2021-06-30 14:44:08 +02:00
dbus.c dbus: keep a ref to DBusConnection if reconnecting is not handled 2021-06-26 16:11:40 +03: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 treewide: replace strcmp() == 0 with spa_streq() 2021-05-18 22:10:27 +10:00
logger.c treewide: mark things static and const 2021-06-30 14:44:08 +02:00
loop.c loop: avoid corruption of ringbuffer 2021-07-26 11:39:48 +02:00
meson.build meson.build: add -D_GNU_SOURCE to the project arguments 2021-06-09 07:47:51 +00:00
node-driver.c node-driver: remove timers when not a driver 2021-07-01 12:28:18 +02:00
null-audio-sink.c null-audio-sink: only start timers when driving 2021-07-01 11:33:21 +02:00
plugin.c support: add null audio sink 2020-08-20 18:00:00 +02:00
system.c treewide: replace strcmp() == 0 with spa_streq() 2021-05-18 22:10:27 +10:00