[pulseaudio-commits] r1716 - /trunk/src/modules/module-jack-sink.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Fri Aug 24 00:12:48 PDT 2007
Author: tanuk
Date: Fri Aug 24 09:12:47 2007
New Revision: 1716
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=3D1716&root=3Dpulseaudio&vi=
ew=3Drev
Log:
Corrected a bogus comment.
Modified:
trunk/src/modules/module-jack-sink.c
Modified: trunk/src/modules/module-jack-sink.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-jack-s=
ink.c?rev=3D1716&root=3Dpulseaudio&r1=3D1715&r2=3D1716&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
--- trunk/src/modules/module-jack-sink.c (original)
+++ trunk/src/modules/module-jack-sink.c Fri Aug 24 09:12:47 2007
@@ -753,8 +753,7 @@
part2_length =3D buffer[1].len / sizeof(float);
=
/* If the amount of free space is not a multiple of the frame size, we=
have
- to adjust the lengths in order to not get confused with which sampl=
e is
- which channel. */
+ to truncate the lengths so that we process only complete frames. */
if ((rem =3D (part1_length + part2_length) % u->channels) !=3D 0) {
if (part2_length >=3D rem) {
part2_length -=3D rem;
More information about the pulseaudio-commits
mailing list