Re: [OT] ALSA userspace API complexity

Jaroslav Kysela
2006-01-08T09:42:02Z

On Sun, 8 Jan 2006, Olivier Galibert wrote:

> On Sat, Jan 07, 2006 at 03:32:27PM +0100, Takashi Iwai wrote:
> > Yes, it's a known problem to be fixed. But, it's no excuse to do
> > _everything_ in the kernel (which OSS requires).
>
> OSS does not require to do anything in the kernel except an entry
> point.
>
>
> > 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.

But it's quite ineffecient. The kernel must switch tasks at least twice
or more. It's the major problem with the current OSS API.

Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs