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

Jeff Garzik
2007-06-26T11:48:22Z

Hannu Savolainen wrote:
> Also we would like to stop the silly OSS vs ALSA war. OSS and ALSA are
> rather different. Both of them have some good points and bad points. For
> ordinary users it doesn't matter which API is used by the applications
> as long as they work. Just the application developers can see the real
> difference. Some of them prefer OSS while some other prefer ALSA and
> this should be their "freedom of choice".
>
> I think the ideal solution would be that both ALSA and OSS APIs can
> co-exist by sharing the same low level drivers (which has already been
> demonstrated). The low level driver interfaces in both systems are
> practically identical. This means that ALSA's core can work with OSS'
> drivers and vice versa.
>
> Today both OSS and ALSA teams have to spend significant amounts of time
> in emulating the "alien" APIs. Making OSS and ALSA to co-exist will
> require some work in both sides but that should be nothing when compared
> to the effort required for emulation.

Speaking as another OSS driver author and maintainer, who ACK'd the move
to ALSA...

In Linux we typically do not do two APIs and codebases for the same
purpose. If we do, like sys_mmap and sys_mmap2, it's an older legacy
interface that never changes, that we are moving people AWAY from, and a
newer interface.

I see no reason to change from the path at which upstream has arrived:
OSS is a legacy API that's frozen in time, and ALSA provides the new stuff.

If you have ALSA criticisms, the right thing to do is fix ALSA.
Upstream OSS was a dead-end code duplication & maintenance nightmare. I
know. I was doing some of that maintenance and driver writing.

Jeff