[MPlayer-dev-eng] [PATCH] fix for -srate bug

D Richard Felker III dalias at aerifal.cx
Mon Oct 18 21:40:27 CEST 2004


On Mon, Oct 18, 2004 at 07:19:50PM +0100, Ed Wildgoose wrote:
> 
> >>Would a patch to incorporate libsamplerate be acceptable?  We obviously
> >>don't want a ton of sample rate convertors, and I would expect it to be
> >>tricky to completely integrate libsamplerate (if we need to be able to
> >>compile it on funny architectures for example), but I could make it a
> >>compile time option to use the internal stuff or libsamplerate?
> >>   
> >>
> >
> >why, dont u just use the audio resample code from libavcodec ?
> >it can easily be extended to support any linear filter, can compensate for 
> >timestamp drift correctly (no ugly sounding duplicated/dropped samples) 
> > 
> >
> 
> Well my goal is very high end audio and video, comparable with 20K 
> systems or more....  Libsamplerate seems to be the highest quality 
> resampler out there, and most likely somewhat better than the libavcodec 

i don't see how it can be any better, since lavc's can do any linear
filter. and i'm against adding more dependencies, especially for stuff
like this that should be 'universally' supported.

rich





More information about the MPlayer-dev-eng mailing list