Re: Sound userspace drivers (fishing for insight)

From: Takashi Iwai
Date: Wed Mar 08 2006 - 14:05:38 EST


At Wed, 08 Mar 2006 13:56:06 -0500,
John Richard Moser wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Takashi Iwai wrote:
> > At Wed, 08 Mar 2006 11:17:26 -0500,
> > John Richard Moser wrote:
> >>>> into the kernel; with alsa it's written to a /proc interface, which
> >>> Using /proc? Where? I've not noticed it :-)
> >> I thought that was what /proc/asound/card0/ was for? :)
> >
> > /proc is not referred from alsa-lib, i.e. programs don't access them.
> > It's just for users who want to read some information.
> >
>
> This makes me wonder then how stuff is set up. There's no device, is
> there a sound card syscall now?

You must have /dev/snd/* files, and the access is via normal
syscalls... Check strace of your program.


Takashi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/