[MPlayer-dev-eng] [patch] prefer ALSA over OSS

Adrian Bunk bunk at stusta.de
Sat May 5 00:29:50 CEST 2007


On Fri, May 04, 2007 at 05:33:38PM -0400, Rich Felker wrote:
> On Fri, May 04, 2007 at 11:28:54PM +0200, Adrian Bunk wrote:
> > On Fri, May 04, 2007 at 05:14:16PM -0400, Rich Felker wrote:
> > >...
> > > In the fastest mode, it's slower than libavcodec's resampler.
> > > In the best quality mode, it's lower quality than libavcodec's
> > > resampler.
> > > 
> > > Now why on earth would anyone want to use this crap?? It's only
> > > configurable between two extremes of sucking: very bad quality, or
> > > very bad performance.
> > 
> > Adjusting a quote from a wise man named "Rich Felker" in another email a 
> > few minutes earlier by replacing "OSS" with "ALSA":
> > 
> > PLEASE stop confusing ALSA (the API) with the Linux implementation. 
> > These are two separate things entirely. What you're doing is equivalent 
> > to complaining that X sucks because XFree86 or X.org is a bad 
> > implementation.
> 
> :)
> 
> The problem here is that both the API and the implementation are
> horrible. My complaints stand.
> 
> Also ALSA the implementation and ALSA the API are inseparable because
> the API is not documented and there has been no attempt to make it an
> open standard where multiple implementations are possible. Indeed I
> suspect the API itself is nonportable in the sense that it's not
> suited for use on posix systems other than Linux unless they do things
> in Linux-like ways.

Hannu Savolainen said [1]:

So we took a different approach - namely modifying the libasound (ALSA 
lib) to talk to OSS drivers rather than ALSA drivers and this approach 
looks more easily portable - for instance it's possible to support ALSA 
library on FreeBSD or Solaris.

> Rich

cu
Adrian

[1] http://www.4front-tech.com/forum/viewtopic.php?t=1887

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




More information about the MPlayer-dev-eng mailing list