[MPlayer-dev-eng] [patch] prefer ALSA over OSS
Sven Gothel
sgothel at jausoft.com
Sat Apr 28 17:33:27 CEST 2007
On Saturday 28 April 2007 at 09:15, Ville Syrjälä wrote:
> 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.
>
It's a long time ago, I checked and worked on QNX,
but if the don't support ALSA 0.5, and if you don't want to dump them,
well - you might want to keep it in.
Not that I really care ;-)
Cheers, Sven
--
health & wealth
mailto:sgothel at jausoft.com ; www : http://www.jausoft.ca ; pgp: http://www.jausoft.com/gpg/
land : +1 (780) 637 3842 ; cell: +1 (780) 952 4481
Timezone MST: EST-2, UTC-7, CET-8 ; MDT: EDT-2, UTC-6, CEDT-8
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070428/6e760088/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list