Re: [linux-pm] [RFC] userland swsusp

From: Olivier Galibert
Date: Thu Nov 17 2005 - 15:16:52 EST


On Thu, Nov 17, 2005 at 02:57:11PM -0500, Lee Revell wrote:
> On Thu, 2005-11-17 at 18:02 +0100, Olivier Galibert wrote:
> > On Wed, Nov 16, 2005 at 11:05:00PM +0100, Pavel Machek wrote:
> > > Now... if something can be
> > > done in userspace, it probably should.
> >
> > And that usually means it just isn't done. Cases in point:
> > multichannel audio software mixing, video pixel formats conversion.
>
> What are you talking about? ALSA does mixing in userspace, it works
> great.

You have an interesting definition of "great".

1- It doesn't work without an annoyingly complex, extremely badly
documented user configuration. To the point that it doesn't work in
either an out-of-the-box, updated Fedora Core 3 nor an
out-of-the-box gentoo.

2- It doesn't work for programs that do not use the annoyingly complex
and horribly documented alsa library, which includes everything
that still uses OSS[1].

You call that great? Multiple audio streams is such a basic feature
it should work, period. No if, no buts, and no obligatory library.
Which doesn't preclude having it in userspace, mind you. But it
should never have been the _application_'s responsability.

OG.

[1] Which is so easier to use for normal programs' audio it's not
funny.
-
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/