[pulseaudio-discuss] [PATCH] resampler: clean up ffmpeg resampler buffering

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Tue Oct 29 17:51:39 CET 2013


On Wed, 2013-07-17 at 11:21 +0200, Peter Meerwald wrote:
> From: Peter Meerwald <p.meerwald at bct-electronic.com>
> 
> buf in struct ffmpeg is reset() initially and freed, but never actually used
> 
> when a new block is allocated ffmpeg_data->buf[c].length is used (which is always 0)
> to compute the new block size
> 
> so, drop buf
> 
> Signed-off-by: Peter Meerwald <p.meerwald at bct-electronic.com>
> ---
>  src/pulsecore/resampler.c |   14 +-------------
>  1 file changed, 1 insertion(+), 13 deletions(-)

I tried to apply this, but the patch needs rebasing. If you do the
rebasing now, this patch will probably get applied soon. I can do the
rebasing too, but that may take time (I'm currently cleaning up my
mailbox, applying only trivial patches and making notes about the rest
on a patch status wiki page[1]).

[1] http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Software/PulseAudio/PatchStatus/

-- 
Tanu



More information about the pulseaudio-discuss mailing list