[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4680FCF8.4090403@garzik.org>
Date: Tue, 26 Jun 2007 07:48:08 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Hannu Savolainen <hannu@...nsound.com>
CC: Takashi Iwai <tiwai@...e.de>, linux-kernel@...r.kernel.org,
Tomasz Kłoczko <kloczek@...y.mif.pg.gda.pl>
Subject: Re: Is it time for remove (crap) ALSA from kernel tree ?
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists