Date: Mon, 7 May 2007 01:55:38 +0800 From: Ariff Abdullah <ariff@FreeBSD.org> To: John-Mark Gurney <gurney_j@resnet.uoregon.edu> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/sound/pcm sound.h Message-ID: <20070507015538.7487e7bb.ariff@FreeBSD.org> In-Reply-To: <20070506173729.GN17958@funkthat.com> References: <200705061646.l46GkOXi045874@repoman.freebsd.org> <20070506173729.GN17958@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Mon__7_May_2007_01_55_38_+0800_AGHGdl2No/qp_Czh
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, 6 May 2007 10:37:29 -0700
John-Mark Gurney <gurney_j@resnet.uoregon.edu> wrote:
> Ariff Abdullah wrote this message on Sun, May 06, 2007 at 16:46
> +0000:
> > ariff 2007-05-06 16:46:23 UTC
> >=20
> > FreeBSD src repository
> >=20
> > Modified files:
> > sys/dev/sound/pcm sound.h=20
> > Log:
> > PCMMKMINOR() bit twiddling, so we can have:
> > - 2048 unique sound cards (dsp0 -> dsp2047)
> > (used to be 15)
> > - 32 unique device types (dspW, audio, mixer, sndstat, ..
> > 32th)
> > (used to be 15)
> > - 256 unique cloneable devices (dsp%d.0 -> dsp%d.255)
> > (unchanged)
>=20
> Did you know that if you use the field si_drv1, you don't need to
> limit yourself because of minors? You have two fields to use,
> si_drv1 and si_drv2.. I was able to remove my MINOR macro from
> bktrau using this method..
>=20
Yes, I'm perfectly aware about that, but both si_drv* fields are being
used for other purposes in lots of places. I already planned to
address this which require a not so trivial overhaul, in future.
--
Ariff Abdullah
FreeBSD
... Recording in stereo is obviously too advanced
and confusing for us idiot ***** users :P ........
--Signature=_Mon__7_May_2007_01_55_38_+0800_AGHGdl2No/qp_Czh
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQFGPhaalr+deMUwTNoRAobLAJ0SmE9q6P5Eavo+SX7061FF1zQVqwCfY8eN
idbSL+pWIp9FwA0ABsY+of8=
=5gZP
-----END PGP SIGNATURE-----
--Signature=_Mon__7_May_2007_01_55_38_+0800_AGHGdl2No/qp_Czh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070507015538.7487e7bb.ariff>
