Re: [OT] ALSA userspace API complexity

Martin Drab
2006-01-08T02:26:18Z

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