mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-22 06:59:54 -05:00
add a "length" argument to the seek functions, as an optimization to request a certain block size if any data needs to be generated. this is merely a hint.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1833 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
5df7a85473
commit
1d1eda6059
11 changed files with 94 additions and 50 deletions
|
|
@ -97,7 +97,7 @@ static void sink_input_kill_cb(pa_sink_input *i) {
|
|||
memchunk_stream_unlink(MEMCHUNK_STREAM(i->userdata));
|
||||
}
|
||||
|
||||
static int sink_input_peek_cb(pa_sink_input *i, pa_memchunk *chunk) {
|
||||
static int sink_input_peek_cb(pa_sink_input *i, size_t length, pa_memchunk *chunk) {
|
||||
memchunk_stream *u;
|
||||
|
||||
pa_assert(i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue