The current verbose output of /dev/sndstat is rather cryptic and
convoluted. Make it more human-readable and easy-to-parse.
- Print each property on each own line.
- List each property in "name=value" format.
- Print channel format as a string instead of a hex number.
- Do not print channel flags twice.
- Introduce FEEDER_F_BITS (similar to CHN_F_BITS and SD_F_BITS) and use it to print the feeder flags as strings as well as hex values.
- Slightly modify the feeder chain line.
- Make buffer layout printing more readable.
- Rename "spd" to "rate".
- Rename "fmt" to "format".
- For VCHANs, print parent channel on a separate line.
- Make "(<n>p:<n>v/<n>r:<n>v)" more verbose and move it out of the header line.
- Print "default" in header as "(default)", similar to mixer(8).
- Always print "(play/rec)" string.
- Remove redundant "simplex" string from header, as it gets printed in "snddev flags" as well.
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks