mirror-linux/sound/synth/emux
Takashi Iwai 826f35b829 ALSA: synth: Use guard() for preset locks
Define a macro for the preset locking/unlocking pairs for soundfont
using guard() macro as a further code cleanup.

The new macro is put in soundfont.h (and some function renames) along
with it for avoiding unnecessary troubles with clang.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829151335.7342-6-tiwai@suse.de
2025-09-01 13:54:27 +02:00
..
Makefile ALSA: misc: Use *-y instead of *-objs in Makefile 2024-05-08 18:18:13 +02:00
emux.c ALSA: emux: simplify snd_sf_list.callback handling 2024-04-07 08:35:53 +02:00
emux_effect.c ALSA: synth: Use guard() for spin locks 2025-09-01 13:54:26 +02:00
emux_hwdep.c ALSA: synth: Use safer strscpy() instead of strcpy() 2025-07-11 09:53:35 +02:00
emux_nrpn.c ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control() 2023-02-07 14:32:33 +01:00
emux_oss.c ALSA: synth: Use safer strscpy() instead of strcpy() 2025-07-11 09:53:35 +02:00
emux_proc.c ALSA: synth: Use guard() for mutex locks 2025-09-01 13:54:26 +02:00
emux_seq.c ALSA: synth: Use guard() for mutex locks 2025-09-01 13:54:26 +02:00
emux_synth.c ALSA: synth: Use guard() for spin locks 2025-09-01 13:54:26 +02:00
emux_voice.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
soundfont.c ALSA: synth: Use guard() for preset locks 2025-09-01 13:54:27 +02:00