[pulseaudio-discuss] [PATCH] echo-cancel: Drop the correct amount of samples when skipping.
Arun Raghavan
arun.raghavan at collabora.co.uk
Fri Apr 27 00:30:34 PDT 2012
On Wed, 2012-04-25 at 09:49 +0300, Tanu Kaskinen wrote:
> ---
> src/modules/echo-cancel/module-echo-cancel.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/modules/echo-cancel/module-echo-cancel.c b/src/modules/echo-cancel/module-echo-cancel.c
> index 31d8433..5ca5d1e 100644
> --- a/src/modules/echo-cancel/module-echo-cancel.c
> +++ b/src/modules/echo-cancel/module-echo-cancel.c
> @@ -916,7 +916,7 @@ static void source_output_push_cb(pa_source_output *o, const pa_memchunk *chunk)
> pa_source_post(u->source, &rchunk);
>
> pa_memblock_unref(rchunk.memblock);
> - pa_memblockq_drop(u->source_memblockq, u->blocksize);
> + pa_memblockq_drop(u->source_memblockq, to_skip);
>
> rlen -= to_skip;
> u->source_skip -= to_skip;
All 3 patches look good. Please go ahead and push them.
-- Arun
More information about the pulseaudio-discuss
mailing list