Author: hselasky Date: Mon Mar 30 16:50:32 2020 New Revision: 359446 URL: https://svnweb.freebsd.org/changeset/base/359446Log:Add support for multiple playback and recording devices per physical USB audiodevice. 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.
Have you thought about providing different pcm devices per physical USB audio device for the functionality of dev.pcm.X.Y.vchanformat / vchanrate? Incompatible configs between those devices could be prevented at runtime via setting all the incompatible devices per physical device to return EBUSY or such while one of the group is open / in use. /dev/sndstat could also contain some kind of status to this effect and to which group of pcm devices pcmX belongs.
Bye, Alexander. -- http://www.Leidinger.net alexan...@leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netch...@freebsd.org : PGP 0x8F31830F9F2772BF
pgpqEHA4sJ76J.pgp
Description: Digitale PGP-Signatur