]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r359446:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 13 Apr 2020 16:34:21 +0000 (16:34 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 13 Apr 2020 16:34:21 +0000 (16:34 +0000)
commitcc429c9b60f8402c9350ea6d0063db793edc09f2
tree74889dc7ece1f92e9f80e3bdfae930f9ce16271a
parent0150a46eeb44d9d677f86d26b9773b3888bf20b2
MFC r359446:
Add support for multiple playback and recording devices per physical USB audio
device. This requires some structural refactoring inside the driver, mostly
about converting existing audio channel structures into arrays.

The main audio mixer is provided by the first PCM instance.
The non-first audio instances may only have a software mixer for PCM playback.

Tested by: Horse Ma <Shichun.Ma@dell.com>
Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@359890 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sound/usb/uaudio.c
sys/dev/sound/usb/uaudio.h
sys/dev/sound/usb/uaudio_pcm.c