diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-09-16 22:00:38 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-09-16 22:00:38 +0000 |
commit | 1d1eda60595622a79e598e7c986cc3c23e6a5c34 (patch) | |
tree | ca18fd77ddc8033f5d51e52b27658cd968cae361 /src/pulsecore/play-memblockq.c | |
parent | 5df7a85473f1c06a8baf6a4d81433bde18f86714 (diff) |
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
Diffstat (limited to 'src/pulsecore/play-memblockq.c')
-rw-r--r-- | src/pulsecore/play-memblockq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/play-memblockq.c b/src/pulsecore/play-memblockq.c index 68ce21b1..5652ac2b 100644 --- a/src/pulsecore/play-memblockq.c +++ b/src/pulsecore/play-memblockq.c @@ -97,7 +97,7 @@ static void sink_input_kill_cb(pa_sink_input *i) { memblockq_stream_unlink(MEMBLOCKQ_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) { memblockq_stream *u; pa_assert(i); |