opnsense-src/sys/dev/sound
Christos Margiolis 578cbd03f7 sound: Retire volch
volch is a variable used internally in dsp_ioctl_channel() which
corresponds to either priv->rdch or priv->wrch. As a result, priv->volch
is also a pointer to one of those two channels, but is also not used
anywhere outside dsp_ioctl_channel(). Since the operation of figuring
out which channel we want to operate on inside dsp_ioctl_channel() is
cheap enough, retire volch to avoid unnecessary complexity and
confusion.

While here, rename "volch" to just "ch".

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D50022
2025-04-29 16:00:22 +02:00
..
fdt sound: Make device registration more intuitive 2024-11-03 20:02:49 +01:00
isa sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
macio sound: Make device registration more intuitive 2024-11-03 20:02:49 +01:00
midi sound: Do not check for NULL if sbuf is allocated with SBUF_AUTOEXTEND 2024-10-18 10:41:16 +02:00
pci snd_hda: Patch Framework 16 AMD 2025-03-25 20:13:59 +01:00
pcm sound: Retire volch 2025-04-29 16:00:22 +02:00
usb snd_uaudio: Remove undefined functions 2025-02-25 13:44:18 +02:00
driver.c sound: Include ai2s and davbus for PowerPC 2024-11-10 02:44:14 +00:00
dummy.c sound: Update COPYRIGHT notices 2025-03-10 21:47:44 +01:00