kern/159236: [pcm] [patch] set PCM_CAP_DEFAULT for the default snd device' s caps
David Naylor
dbn at freebsd.org
Mon Mar 10 21:10:01 UTC 2014
The following reply was made to PR kern/159236; it has been noted by GNATS.
From: David Naylor <dbn at freebsd.org>
To: Andriy Gapon <avg at freebsd.org>
Cc: bug-followup at freebsd.org
Subject: Re: kern/159236: [pcm] [patch] set PCM_CAP_DEFAULT for the default snd device's caps
Date: Mon, 10 Mar 2014 23:04:33 +0300
--nextPart2034591.Mx6WxTxczf
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
On Thursday, 28 July 2011 15:21:27 Andriy Gapon wrote:
> I think that for this change to be complete we also need to have a sysctl
> handler for hw.snd.default_unit that would appropriately update
> PCM_CAP_DEFAULT flag.
Can you please clarify why a sysctl handler is required?
My understanding of the code is that dsp_oss_audioinfo() does not store the
device capabilities but gets called every time dsp_ioctl() is called with
SNDCTL_ENGINEINFO thus there is no persistent state to update when
hw.snd.default_unit changes?
--nextPart2034591.Mx6WxTxczf
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)
iQJ8BAABCgBmBQJTHijkXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5NDhFQzUxMUEyN0YwMzAyRTc5OUI1M0FB
RDYzRkE4REQ2QjJEQTU1AAoJEK1j+o3WstpV2wsQAJ1dMSOwiRZxTXMEAZtJcSwO
QYfzdK2rvbKrxC472naCSXcJ2eCBPvVHPY9izYIhn29Itjz5t2x5HTlFi2YKQDXM
dsa20YJjFa9Jo0p02Z+0I/1xr9DgoNzfGz74yq9RMCWRpV9kh7gLNY5t85Nk/NpW
n9+RDCELMbAvJE91SUO3ouAkmMhSdY3oMfGRFPQi+4CoDrYhJrV2PJpYnOuLjq4c
DC6BrpM0c78ds2PYVyossfk81oo02+wrUPAo9AV7zgWT4LN8GvIQw78Dy4epfVHI
49MTnXvGP6hGbfRO7heLWauyO5CuTw9l0+xkyTEA8R5/GTSapeRWsK6PU3cfIxga
mswncugmQdILGWYzU8DheyPevz3ht9kwYHqDvtg5YV+aP8FLwzw0Uov6SjFYkTEc
13pZusZrRBMaXPeCNGraoR9dMeA9DPmLEZdW/Cgj638k6HHmdSasgq1eyewtL7ws
AtxRNDwMlFKw18TM04XfrJWQaU/idvja/dflurqlo0aHEGU+wNk9jlUX361we29f
PJIKrZ+mrYMBLClFfPR67N1s8wKwDJY4WV5GBpRYYxQFUHW9kZMWNhadpzJhhpzM
TLD9DkprWCUQb//Yb49nI7UOjOo2k52E7g22vIfWiaIcWOyXuJgzBqvX0yo4s3IC
q6Nuq56G41duIK2Cgkis
=7GEZ
-----END PGP SIGNATURE-----
--nextPart2034591.Mx6WxTxczf--
More information about the freebsd-multimedia
mailing list