HomeFreeBSD

sound: Improve sndstat nvlist feederchain format

Description

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

Details

Provenance
christosAuthored on Aug 24 2024, 12:07 PM
Reviewer
dev_submerge.ch
Differential Revision
D46309: sound: Improve sndstat nvlist feederchain format
Parents
rG6747b1a8218f: sound examples: Move MIDI example out of OSS directory
Branches
Unknown
Tags
Unknown