Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Quoting Hans Petter Selasky <hselasky@freebsd.org> (from Mon, 30 Mar  
2020 16: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  
> 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.

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 Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

[-- Attachment #2 --]
-----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-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200331143524.Horde.ysDNb7YHa282XO7TaHD7KeV>