mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
new features:
future cancellation corking flushing for playback streams in native protocol git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@152 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
ea4805a0fd
commit
41295bbf56
20 changed files with 309 additions and 129 deletions
|
|
@ -59,11 +59,12 @@ static void si_kill(struct pa_mainloop_api *m, void *i) {
|
|||
sink_input_kill(i);
|
||||
}
|
||||
|
||||
static void sink_input_drop(struct pa_sink_input *i, size_t length) {
|
||||
static void sink_input_drop(struct pa_sink_input *i, const struct pa_memchunk*chunk, size_t length) {
|
||||
struct pa_memchunk *c;
|
||||
assert(i && length && i->userdata);
|
||||
c = i->userdata;
|
||||
|
||||
assert(chunk == c);
|
||||
assert(length <= c->length);
|
||||
|
||||
c->length -= length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue