[MPlayer-dev-eng] [patch] prefer ALSA over OSS
Ville Syrjälä
syrjala at sci.fi
Sat Apr 28 17:15:42 CEST 2007
On Sat, Apr 28, 2007 at 05:04:37PM +0200, Reimar Döffinger wrote:
> Hello,
> 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.
> >
> > MPlayer supports both ALSA and OSS, and this patch changes the order to
> > check for ALSA before checking for OSS.
> >
> > --- libao2/audio_out.c.old 2007-04-28 01:08:17.000000000 +0200
> > +++ libao2/audio_out.c 2007-04-28 01:08:44.000000000 +0200
> > @@ -84,9 +84,6 @@
> > #ifdef MACOSX
> > &audio_out_macosx,
> > #endif
> > -#ifdef USE_OSS_AUDIO
> > - &audio_out_oss,
> > -#endif
> > #ifdef HAVE_ALSA1X
> > &audio_out_alsa,
> > #endif
> > @@ -96,6 +93,9 @@
> > #ifdef HAVE_ALSA5
> > &audio_out_alsa5,
> > #endif
> > +#ifdef USE_OSS_AUDIO
> > + &audio_out_oss,
> > +#endif
>
> Alsa 0.5 certainly shouldn't be preferred over OSS.
How about giving ALSA 0.5 support the boot. Last 0.5 release was made in
2001.
--
Ville Syrjälä
syrjala at sci.fi
http://www.sci.fi/~syrjala/
More information about the MPlayer-dev-eng
mailing list