mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
echo-cancel: Drop the correct amount of samples when skipping.
This commit is contained in:
parent
fed2d8d4e8
commit
af78613b70
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue