[alsa-devel] Accessing alsa device in kernel space.

Vasily Khoruzhick anarsoul at gmail.com
Mon Aug 6 21:29:46 CEST 2007

On 6 August 2007 you wrote:
> At Sun, 5 Aug 2007 19:11:23 +0300,
> Vasily Khoruzhick wrote:
> > Hi, how to access to alsa device from kernel space?
> > I want to create driver for virtual soundcard, that will perform mixing
> > and rate converting in kernelspace, and put result in real hardware. But
> > I found no documentation how to open alsa device in kernel space :(
> You shouldn't do it.  It'd be horribly messy.
> If you'd like to access the device files of other hardwares, simply
> use the user-space solution.
> Takashi

Btw, why there's oss-emulation in kernel? AFAIK it can't use pcm-plugins (e.g. 
dmix), so oss-applications that try to play through /dev/dsp can't produce 
any sound, or they block soundcard and other programs can't use it.

More information about the Alsa-devel mailing list