[vlc-devel] [PATCH 2/2] Android: disable speex

Rafaël Carré funman at videolan.org
Thu Feb 2 18:23:14 CET 2012


Le 2012-02-02 12:19, XilasZ a écrit :
> It always uses a ugly_resampler for me, even when there's no need to
> resample.
> 
> I think it has something to do with this in logs : "48510 Hz->44100 Hz"
> Whatever the samplerate is, it always tries to resample a bit, I don't know
> why.

See src/audio_output/input.c:263     /* Create resamplers. */

The aout always creates a resampler and always give the samples to the
resampler in case resampling is needed while playing back.

See the same file line 456     /* Run the resampler if needed.
     * We first need to calculate the output rate of this resampler. */



More information about the vlc-devel mailing list