Re: Accessing alsa device in kernel space.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Mon, 6 Aug 2007 22:29:46 +0300,
Vasily Khoruzhick wrote:
> 
> 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.

Because the OSS API _requires_ the kernel device file.
We have user-space aoss wrapper, too.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux