[pulseaudio-commits] r1576 - /branches/lennart/src/pulsecore/play-memchunk.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Sun Aug 5 04:22:04 PDT 2007
Author: lennart
Date: Sun Aug 5 13:22:03 2007
New Revision: 1576
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1576&root=3Dpulseaudio&vi=
ew=3Drev
Log:
play memchunks completely
Modified:
branches/lennart/src/pulsecore/play-memchunk.c
Modified: branches/lennart/src/pulsecore/play-memchunk.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/pulsecore/=
play-memchunk.c?rev=3D1576&root=3Dpulseaudio&r1=3D1575&r2=3D1576&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/lennart/src/pulsecore/play-memchunk.c (original)
+++ branches/lennart/src/pulsecore/play-memchunk.c Sun Aug 5 13:22:03 2007
@@ -130,7 +130,7 @@
u =3D MEMCHUNK_STREAM(i->userdata);
memchunk_stream_assert_ref(u);
=
- if (length >=3D u->memchunk.length) {
+ if (length < u->memchunk.length) {
u->memchunk.length -=3D length;
u->memchunk.index +=3D length;
} else
More information about the pulseaudio-commits
mailing list