[vlc-devel] [PATCH/RFC] libswresample based audio resampler.

Rémi Denis-Courmont remi at remlab.net
Mon Apr 16 17:39:52 CEST 2012

Le lundi 16 avril 2012 16:46:13 Alexis Ballier, vous avez écrit :
> On Sun, 15 Apr 2012 18:48:42 +0300
> "Rémi Denis-Courmont" <remi at remlab.net> wrote:
> > Try
> > changing the playback rate on the fly.
> This didnt work. I didnt think this could change after Open();
> fixed and new patch enclosed, though probably more cpu intensive since
> i imagine swr_init does some precalculations.

You can't reinitialize the resampler all the time. Not only is it slow, it 
will probably cause glitches.

And I still don't see how you can upsample with that memory allocation scheme 
of yours.

Rémi Denis-Courmont

More information about the vlc-devel mailing list