[MPlayer-cvslog] CVS: main/libao2 ao_alsa.c,1.39,1.40

Clemens Ladisch clemens at ladisch.de
Mon Mar 13 13:13:43 CET 2006


Reimar Döffinger wrote:
> On Mon, Mar 13, 2006 at 11:50:41AM +0100, Clemens Ladisch CVS wrote:
> > Log Message:
> > To avoid a bug in ALSA's rate plugin that causes spurious overruns, try
> > to disable it so that mplayer's resampler is used.
> 
> > +      /* workaround for buggy rate plugin (should be fixed in ALSA 1.0.11)
> > +         prefer our own resampler */
> > +#if SND_LIB_VERSION >= 0x010009
> 
> I am strongly in favour of always using our resampler, since there are
> config options that e.g. lets you choose between high- and
> low-quality...

This is exactly what this code does.

The #if is there because ALSA didn't allow disabling its resampler
before version 1.0.9.


Regards,
Clemens




More information about the MPlayer-cvslog mailing list