Date: Tue, 31 Mar 2020 14:35:24 +0200 From: Alexander Leidinger <Alexander@leidinger.net> To: Hans Petter Selasky <hselasky@freebsd.org> Cc: usb@freebsd.org Subject: Re: svn commit: r359446 - head/sys/dev/sound/usb Message-ID: <20200331143524.Horde.ysDNb7YHa282XO7TaHD7KeV@webmail.leidinger.net> In-Reply-To: <202003301650.02UGoX5Y046848@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format and has been PGP signed. --=_e0N_XJzsPB9zhjE85uX2rNs Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Hans Petter Selasky <hselasky@freebsd.org> (from Mon, 30 Mar=20=20 2020=2016:50:33 +0000 (UTC)): > Author: hselasky > Date: Mon Mar 30 16:50:32 2020 > New Revision: 359446 > URL: https://svnweb.freebsd.org/changeset/base/359446 > > Log: > Add support for multiple playback and recording devices per=20=20 >=20physical USB audio > device. This requires some structural refactoring inside the driver, mo= stly > 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=20=20 >=20PCM playback. Have you thought about providing different pcm devices per physical=20=20 USB=20audio device for the functionality of dev.pcm.X.Y.vchanformat /=20=20 vchanrate?=20Incompatible configs between those devices could be=20=20 prevented=20at runtime via setting all the incompatible devices per=20=20 physical=20device to return EBUSY or such while one of the group is open=20= =20 /=20in use. /dev/sndstat could also contain some kind of status to this=20= =20 effect=20and to which group of pcm devices pcmX belongs. Bye, Alexander. --=20 http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_e0N_XJzsPB9zhjE85uX2rNs Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJegzkMAAoJEBINsJsD+NiGv0gQAJ8mNFO1+P6N5siNrqh4qS0j mqIWAEzLmlQZjPhMEU+OT6sb86SWgPaTHIBEraEjRmE5qRl64npOjhRDm5UyNNZn txmENRe28118iWXeu9BowcavvmeW+RkDmBJftXt8AmC0ZANzj99qmksr2u/h1xXX fyBGFG37e+DtUrW5iHGq6p2B+Ck+9e8E0fUc2lbNyK/g2szzQxc5xfB1OIfqDaUg EkufPMlgDvJdmkxV2TMgOu9+yW+56Cujf1Gs34JnrNmpVE/kLPr4Dah0o6XzdHaN DBNfMGwSLy9pvrsdx8/lyEBBxPKZvAqJsiQx8ejbzf//y+RnIaYgwRvg7kBnGEd2 BBVi0ElshqmhTQCRLnTGwxEql/i+Jz3imLJDkSebDRQ9LO5xG2WLfi4j0MVh+nL1 FNQLu+McYB4u2gbpkM+IDoUyCbLGqLOYkvdQxdUYNTeu6Zhg3AlMix2l7L7jHjbX nfbky+jzwaIPGwh9VeW99Mf60BtqdG8/Q2Ct7zJ93TZJBFcjQgnIIbKnxRbYqR3s f5WVcLKlQ9DmjIfCh8LuI2MHYrlVm70xiNDe9gRFIkQ3F9aW2QSOTUOXdTJUzIPx XUAcG7Nq+HPEg1R0xwynQBPrdVw8f/4k8y6448P50cX/bKNLY7QbBK4M7zIXbP6T r+hatnYbF9pta2+LT8+O =tODX -----END PGP SIGNATURE----- --=_e0N_XJzsPB9zhjE85uX2rNs--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200331143524.Horde.ysDNb7YHa282XO7TaHD7KeV>