pipewire/spa/plugins/support
Peter Hutterer 51a177eb6d tree-wide: replace strstr(a, b) == a with spa_strstartswith()
spa_strstartswith() is more immediately understandable.

Coccinelle spatch file:
	@@
	expression E1, E2;
	@@
	- strstr(E1, E2) != E1
	+ !spa_strstartswith(E1, E2)

	@@
	expression E1, E2;
	@@
	- strstr(E1, E2) == E1
	+ spa_strstartswith(E1, E2)

Applied to the tree except for alsa/acp/compat.h because it looks like
that header is still mostly as-is from PA.
2021-08-02 08:24:21 +00: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 tree-wide: replace strstr(a, b) == a with spa_strstartswith() 2021-08-02 08:24:21 +00: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