Re: alsa was Re: ABI coupling to hypervisors via CONFIG_PARAVIRT

From: Jaroslav Kysela
Date: Wed Mar 14 2007 - 11:59:25 EST


On Wed, 14 Mar 2007, Pavel Machek wrote:

> 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, calm down. World is not perfect and there are always probes to
optimize things. We use standard file operations - open/close/ioctl/mmap,
too.

Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs
-
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/