mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
properly account for seeks in the requested_bytes counter
This commit is contained in:
parent
380e97a596
commit
373b5efe51
11 changed files with 55 additions and 50 deletions
|
|
@ -434,7 +434,7 @@ void pa_source_output_push(pa_source_output *o, const pa_memchunk *chunk) {
|
|||
|
||||
if (pa_memblockq_push(o->thread_info.delay_memblockq, chunk) < 0) {
|
||||
pa_log_debug("Delay queue overflow!");
|
||||
pa_memblockq_seek(o->thread_info.delay_memblockq, (int64_t) chunk->length, PA_SEEK_RELATIVE);
|
||||
pa_memblockq_seek(o->thread_info.delay_memblockq, (int64_t) chunk->length, PA_SEEK_RELATIVE, TRUE);
|
||||
}
|
||||
|
||||
limit = o->process_rewind ? 0 : o->source->thread_info.max_rewind;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue