Date: Tue, 26 Jul 2005 21:42:16 +0800 From: Yuka Muromachi <yuka.muromachi@gmail.com> To: freebsd-multimedia@freebsd.org Subject: The device name Message-ID: <c5c2798005072606427b22cd1c@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi: I'm trying to written Azalia (HD Audio) support for freebsd now. The controller part is working, I'm trying to add codec support now. There is a question: most sound device attach function will call those two line to create /dev/audio* , /dev/dsp*, /dev/dspW* and /dev/dspr*: pcm_addchan(dev, PCMDIR_REC, &ad1816chan_class, ad1816); pcm_addchan(dev, PCMDIR_PLAY, &ad1816chan_class, ad1816); pcm_addchan() will call pcm_chn_add() But, I do not understand, why direction =3D PCMDIR_REC will still create one more /dev/audio , /dev/dspW, /dev/dspr=20 device? My mean, that code will create /dev/audio0.0 /dev/audio0.1 ... and /dev/dspr0.0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c5c2798005072606427b22cd1c>