opnsense-src/sys/dev/sound/pcm
Christos Margiolis e4458d4d71 sound: Make CHN_REMOVE_SAFE() the default
Commit 27b932e32fab ("sound: Safely remove channel from list in one
pass") optimized CHN_REMOVE_SAFE() to perform almost equally to
CHN_REMOVE(), so we can turn CHN_REMOVE_SAFE() into CHN_REMOVE() without
fears of performance regressions, while also being more robust.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	dev_submerge.ch
Differential Revision:	https://reviews.freebsd.org/D48249

(cherry picked from commit ffcefe5310e084415a2f292a00f4637d4059c40f)
2025-01-28 16:04:52 +02:00
..
ac97.c sound: Remove dead code from pcm/ 2024-12-04 13:03:36 +01:00
ac97.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ac97_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
buffer.c sound: Remove dead code from pcm/ 2024-12-04 13:03:36 +01:00
buffer.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
channel.c sound: Make CHN_REMOVE_SAFE() the default 2025-01-28 16:04:52 +02:00
channel.h sound: Make CHN_REMOVE_SAFE() the default 2025-01-28 16:04:52 +02:00
channel_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
dsp.c sound: Remove dead code from pcm/ 2024-12-04 13:03:36 +01:00
dsp.h sound: Untangle dsp_cdevs[] and dsp_unit2name() confusion 2024-10-27 17:32:23 +01:00
feeder.c sound: Retire pcm_veto_load 2024-11-05 22:44:41 +01:00
feeder.h sound: Dissolve pcm/intpcm.h 2024-12-04 13:03:36 +01:00
feeder_chain.c sound: Simplify feeder_remove() 2024-07-29 18:34:55 +03:00
feeder_eq.c sound: Rename chn_* feeder functions to feeder_* 2024-07-29 18:34:55 +03:00
feeder_format.c sound: Dissolve pcm/intpcm.h 2024-12-04 13:03:36 +01:00
feeder_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
feeder_matrix.c sound: Use nitems() where possible 2024-05-17 21:30:35 +02:00
feeder_mixer.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07:00
feeder_rate.c sound: Remove dead code from pcm/ 2024-12-04 13:03:36 +01:00
feeder_volume.c sound: Use nitems() where possible 2024-05-17 21:30:35 +02:00
g711.h sound: Dissolve pcm/intpcm.h 2024-12-04 13:03:36 +01:00
matrix.h sound: Merge pcm/matrix_map.h with pcm/matrix.h 2024-12-04 13:03:36 +01:00
mixer.c sound: Remove PCM_DETACHING(), SD_F_DETACHING and SD_F_DYING 2024-11-29 13:28:06 +01:00
mixer.h sound: Handle unavailable devices in various OSS IOCTLs 2024-05-25 21:30:40 +02:00
mixer_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
pcm.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
sndstat.c sound: Improve /dev/sndstat channel info readability 2024-10-20 13:21:06 +02:00
sound.c sound: Do not access cv_waiters 2024-12-04 13:03:36 +01:00
sound.h sound: Unit test the pcm sample read and write macros 2025-01-28 16:04:52 +02:00
vchan.c sound: Fix chn_trigger() and vchan_trigger() races 2024-11-29 13:28:06 +01:00
vchan.h sound: Remove unused "num" argument from chn_init() and related callers 2024-05-17 21:30:35 +02:00