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

Adrian Bunk bunk at stusta.de
Sun Apr 29 01:11:28 CEST 2007


On Sat, Apr 28, 2007 at 06:47:53PM -0400, Rich Felker wrote:
> On Sat, Apr 28, 2007 at 10:02:48PM +0200, Adrian Bunk wrote:
> > On Sat, Apr 28, 2007 at 03:54:12PM -0400, Rich Felker wrote:
> > > On Sat, Apr 28, 2007 at 04:23:14PM +0200, Adrian Bunk wrote:
> > > > In Linux kernel 2.6, ALSA is the default sound system.
> > > > It contains an in-kernel OSS emulation, but using ALSA directly is 
> > > > better.
> > > 
> > > No, it's much worse. On my laptop, sound is choppy with the ALSA crap,
> > > but works fine with the ALSA drives as long as MPlayer uses the OSS
> > > interface. ALSA is an idiotic, non-unixish, windows-inspired API that
> > > should be ditched. MPlayer should never endorse it by making it
> > > default.
> > > 
> > > As far as I'm concerned, patch is rejected.
> > 
> > ALSA has bugs.
> > 
> > Reporting bugs to the maintainers helps with getting bugs fixed.
> > Flaming about bugs but not reporting them is silly.
> > 
> > Please open a bug in the ALSA bug tracker [1] for your problem and tell 
> > me the bug number.
> 
> The bug is that the API is based on a library rather then open() and
> ioctl(). I suspect ALSA will reject this bug report...

No, the bug you described was "sound is choppy with the ALSA crap, but 
works fine with the ALSA drives as long as MPlayer uses the OSS 
interface.".

That's something you could write a bug report for, and that should be 
fixable within ALSA.

For general OSS<->ALSA discussions you are more than five years too late.

> Rich

cu
Adrian

-- 

       "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