]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve USB audio mixer support for USB audio class 1 and 2.
authorHans Petter Selasky <hselasky@FreeBSD.org>
Fri, 27 Mar 2020 10:22:35 +0000 (10:22 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Fri, 27 Mar 2020 10:22:35 +0000 (10:22 +0000)
commitc2bc9ff72a15799c6e5ca47c7868c139df81c6b1
treeff4208ea4c27e35699b4741fe1165e4029095620
parentded22b4527ff4f981cbf563d0ed741c4a3bd2587
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
sys/dev/sound/usb/uaudio.c