On Wed, 14 Mar 2007, Pavel Machek wrote:
quoted text > 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@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs
-
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: alsa was Re: ABI coupling to hypervisors via CONFIG_PA ... , Jaroslav Kysela , (Wed Mar 14, 8:59 am)