Re: [OT] ALSA userspace API complexity

From: Martin Drab
Date: Sat Jan 07 2006 - 21:25:26 EST


On Sun, 8 Jan 2006, Olivier Galibert wrote:

> > And if the application doesn't support, who and where converts it?
> > With OSS API, it's a job of the kernel.
>
> Once again no. Nothing prevents the kernel to forward the data to
> userland daemons depending on a userspace-uploaded configuration.

I think that the point was, that switching from userspace to kernelspace
then to userspace again and back to kernelspace in order to do something,
that could have been done directly in the userspace, and though could save
those two unnecessary switches, is an unnecessary overhead, which may not
necessarily be that insignificant if it's done so often (which for
streaming audio is the case). Why doing things complicated when there is
no evident gain from it, or is there?

Martin
-
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/