mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
drop chunk argument from various drop() functions, since it doesn't make any sense if we want to guarantee always monotonously increasing read pointers; a couple of other fixes
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1529 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
9cc20b46b7
commit
068f5d5eef
14 changed files with 341 additions and 217 deletions
|
|
@ -326,7 +326,7 @@ static void inputs_drop(pa_sink *s, pa_mix_info *info, unsigned n, size_t length
|
|||
}
|
||||
|
||||
/* Drop read data */
|
||||
pa_sink_input_drop(i, m ? &m->chunk : NULL, length);
|
||||
pa_sink_input_drop(i, length);
|
||||
|
||||
if (m) {
|
||||
pa_sink_input_unref(m->userdata);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue