Improve USB audio mixer support for USB audio class 1 and 2.

- make sure volume controls are correctly mapped to "pcm" and "rec" depending
  on how they deliver audio to the USB host.
- make sure there are no duplicate record selections.
- remove internal only mixer class type.
- don't add software volume controls for recording only.
- some minor mixer code cleanup.

Tested by:	Horse Ma <Shichun.Ma@dell.com>
MFC after:	1 week
Sponsored by:	Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2020-03-27 10:22:35 +00:00
parent ded22b4527
commit c2bc9ff72a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=359355

File diff suppressed because it is too large Load Diff