[MPlayer-dev-eng] Proposed changes to af_resample
D Richard Felker III
dalias at aerifal.cx
Tue Jan 7 19:08:37 CET 2003
On Tue, Jan 07, 2003 at 05:56:24PM +0800, Anders Johansson wrote:
> Hi,
>
> I have had a look at af_resample now. Instead of writing straight to
> the CVS I am attaching a patch. If everyone think it is OK I will
> apply it.
>
> The basic changes are:
> 1. If the input and output frequencies are almost the same linear
> interpolation is used. The increase in CPU load is negligible (try
> it yourself) and it is impossible to hear the errors.
>
> 2. If input is float or if the user specify float then float
> processing is used.
>
> 3. int processing and sloppy resampling is enabled by default, and
> will be used unless 1. or 2. applies.
Why is sloppy enabled by default? It sounds like #1 already takes care
of the problem that sloppy was designed for, without generating
incorrect samplerate as output.
Rich
More information about the MPlayer-dev-eng
mailing list