alsa was Re: ABI coupling to hypervisors via CONFIG_PARAVIRT

From: Pavel Machek
Date: Wed Mar 14 2007 - 11:15:36 EST


Hi!

> >I think the sound example to the right really shows it.
> >/dev/dsp has a
> >consistent ABI on a ton of systems. The API below it,
> >varies. Linux got
> >file_operations and ALSA. Solaris/BSD may have its
> >vnode-and-so-on-functions and some sort of OSS.
>
> I think this is a poor example as applications lose a
> lot of
> functionality (multiple stream mixing, software volume
> control, etc)
> by going through the legacy /dev/dsp interface vs. using
> native ALSA.

OTOH /dev/dsp is nice, clean, unixy interface, while alsa creates ugly
ABI you should not even use unless you are libalsa. ouch.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/