mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
latency work
major main loop bugfix git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@154 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
b6b428e5cb
commit
92bf0a365a
21 changed files with 126 additions and 61 deletions
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "play-memchunk.h"
|
||||
#include "sink-input.h"
|
||||
|
|
@ -64,7 +66,7 @@ static void sink_input_drop(struct pa_sink_input *i, const struct pa_memchunk*ch
|
|||
assert(i && length && i->userdata);
|
||||
c = i->userdata;
|
||||
|
||||
assert(chunk == c);
|
||||
assert(!memcmp(chunk, c, sizeof(chunk)));
|
||||
assert(length <= c->length);
|
||||
|
||||
c->length -= length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue