projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd0782e
)
play memchunks completely
author
Lennart Poettering
<lennart@poettering.net>
Sun, 5 Aug 2007 11:22:03 +0000
(11:22 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 5 Aug 2007 11:22:03 +0000
(11:22 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1576
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/pulsecore/play-memchunk.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/play-memchunk.c
b/src/pulsecore/play-memchunk.c
index
a5ba949
..
419d523
100644
(file)
--- a/
src/pulsecore/play-memchunk.c
+++ b/
src/pulsecore/play-memchunk.c
@@
-130,7
+130,7
@@
static void sink_input_drop_cb(pa_sink_input *i, size_t length) {
u = MEMCHUNK_STREAM(i->userdata);
memchunk_stream_assert_ref(u);
- if (length
>=
u->memchunk.length) {
+ if (length
<
u->memchunk.length) {
u->memchunk.length -= length;
u->memchunk.index += length;
} else