Re: Is it time for remove (crap) ALSA from kernel tree ?

Rene Herman
2007-06-25T13:49:53Z

On 06/25/2007 01:36 PM, Tomasz Kłoczko wrote:

> Please recall history of (for example) esound.
>> From esound README:
>
> "Esound is an audio mixing server that allows multiple
> applications to output sound to the same audio device."
>
> It was started in time when most cheap sound cards was without hw mixer.

The same situation as today, that is.

> And .. when today you use ALSA on sound card without hw mixer still all
> this (past ?) problems are actual.

ALSA mixes by default since something like 1.0.10 (november 2005).

> Look on main reasons developing arts ..

Which started at a time there was no ALSA, has been basically dead for 6
years now and has at the moment finally been dropped by its last user.

> In documentation many other user space APIs you can find the same or
> similar reasons. Look .. I'm talkimg about real facts. Your disagreement
> completly ommits *reasons* spending some time on preapare this soud
> APIs.

The "linux audio jungle" picture you posted a link to:

http://blogs.adobe.com/penguin.swf/linuxaudio.png

shows more arrows pointing to OSS than it does to ALSA and with a number of
those coming from things that existed before there even was an ALSA and yet
somehow you maintain this userspace audio jungle is ALSA's fault?

The Linux userspace audio situation is improving; since software mixing,
plain vanilla ALSA is a good, single solution to a majority of uses and
something like Phonon which is going to arrive later this year seems poised
to provide a nice high level API, including for people who believe that
audio is about playing you-got-mail jingles.

The reason we're not there yet is in part _due_ to people maintaining that
OSS is somehow a valid choice on Linux. Ie:

> ALSA still does not provides good soud devices virtualization for more
> then one application. Each day I'm using bludy words when I'm try to use
> skype which oppens /dev/mixer after run galeon [ ... ]

/dev/mixer is an OSS device. Recent versions of skype should (as far as I've
been told) be able to use native ALSA but if you're using an older version
you get what you asked for. Should the ALSA OSS emulation try its damndest
to support proprietary, bugridden closed source junk such as skype? Opinions
probably vary but I'd say yes. Let's not make it, old versions of it at
that, into the reference application though.

Video is a much more significant problem for desktop Linux than audio is and
solutions are going to arrive combined as they are both userspace (ie, not
kernel, not DRI, not ALSA, not OSS) multimedia problems. I have high hopes
especially for the new technologies that went into KDE4. Haven't payed much
attention to GNOME though so not sure what they're upto. Non-stellar
cooperation between those two large desktop initiatives in the field of
multimedia is another reason for things not being there yet. Go bark up
those trees instead.

Rene.