opnsense-src/sys/dev/sound/pcm
Christos Margiolis 8156d8598f sound: Improve sndstat nvlist feederchain format
- Use snd_afmt2str() to display format conversions in feeder_format,
  instead of the plain hex value.
- Simplify feeder_rate contents.
- Print "ch" (e.g 2.1ch) after matrix values in feeder_matrix.
- Use snd_afmt2str() instead of a plain hex for the the rest of the
  feeder classes.

Sponsored by:	The FreeBSD Foundation
MFC after:	2 days
Reviewed by:	dev_submerge.ch
Differential Revision:	https://reviews.freebsd.org/D46309

(cherry picked from commit 0864dfe6299b75e424b845c0d0e1a593da905ae3)
2024-08-26 16:53:01 +03:00
..
ac97.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07: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
ac97_patch.c sys: Remove SND_DECLARE_FILE 2023-08-18 13:05:12 -07:00
ac97_patch.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
buffer.c sound: Drain buffer selinfo in sndbuf_free() 2024-04-12 03:09:51 +02:00
buffer.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
channel.c sound: Simplify feeder_remove() 2024-07-29 18:34:55 +03:00
channel.h sound: Remove unused "num" argument from chn_init() and related callers 2024-05-17 21:30:35 +02:00
channel_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
dsp.c sound: Add min_rate and min_channels safety check in SNDCTL_AUDIOINFO 2024-07-10 18:48:13 +02:00
dsp.h sound: Separate implementations for SNDCTL_AUDIOINFO[_EX] and SNDCTL_ENGINEINFO 2024-05-25 21:30:26 +02:00
feeder.c sound: Simplify feeder_remove() 2024-07-29 18:34:55 +03:00
feeder.h sound: Simplify feeder_remove() 2024-07-29 18:34:55 +03: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: Use nitems() where possible 2024-05-17 21:30:35 +02: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: Rename chn_* feeder functions to feeder_* 2024-07-29 18:34:55 +03:00
feeder_volume.c sound: Use nitems() where possible 2024-05-17 21:30:35 +02:00
g711.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
intpcm.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
matrix.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
matrix_map.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mixer.c sound: Rename chn_* feeder functions to feeder_* 2024-07-29 18:34:55 +03: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 sndstat nvlist feederchain format 2024-08-26 16:53:01 +03:00
sound.c sound: Remove dead code in pcm_register() 2024-07-10 18:48:13 +02:00
sound.h sound: Remove unused defines from pcm/sound.h 2024-07-29 18:34:55 +03:00
vchan.c sound: Get rid of snd_sb16 workaround in vchan_create() 2024-07-10 18:48:12 +02:00
vchan.h sound: Remove unused "num" argument from chn_init() and related callers 2024-05-17 21:30:35 +02:00