mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
include local record memblockq in latency calculations
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@694 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
06bd27b043
commit
7fa8323453
2 changed files with 15 additions and 2 deletions
|
|
@ -294,12 +294,14 @@ static void pstream_memblock_callback(pa_pstream *p, uint32_t channel, int64_t o
|
|||
assert(c->ref >= 1);
|
||||
|
||||
pa_context_ref(c);
|
||||
|
||||
|
||||
if ((s = pa_dynarray_get(c->record_streams, channel))) {
|
||||
|
||||
assert(seek == PA_SEEK_RELATIVE && offset == 0);
|
||||
|
||||
pa_memblockq_seek(s->record_memblockq, offset, seek);
|
||||
pa_memblockq_push_align(s->record_memblockq, chunk);
|
||||
|
||||
|
||||
if (s->read_callback) {
|
||||
size_t l;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue