summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2007-08-24 07:12:47 +0000
committerTanu Kaskinen <tanuk@iki.fi>2007-08-24 07:12:47 +0000
commit6687dd013169fd8436aa1b45ccdacff074a40d05 (patch)
tree2aea455f44998fb43374b4a8ab34252d57f4e709
parenteaafb79858fff11add29c8a1126a18e90d7785f9 (diff)
Corrected a bogus comment.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1716 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--src/modules/module-jack-sink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/module-jack-sink.c b/src/modules/module-jack-sink.c
index 09a72e3a..a40ebe29 100644
--- a/src/modules/module-jack-sink.c
+++ b/src/modules/module-jack-sink.c
@@ -753,8 +753,7 @@ static void io_event_cb(pa_mainloop_api* m, pa_io_event* e, int fd,
part2_length = 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 sample is
- which channel. */
+ to truncate the lengths so that we process only complete frames. */
if ((rem = (part1_length + part2_length) % u->channels) != 0) {
if (part2_length >= rem) {
part2_length -= rem;