[pulseaudio-commits] 2 commits - src/pulsecore
Tanu Kaskinen
tanuk at kemper.freedesktop.org
Tue Aug 28 22:25:29 PDT 2012
src/pulsecore/sink-input.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 352130f850a0a544b81f791ef1e28bcb204637b5
Author: Tanu Kaskinen <tanuk at iki.fi>
Date: Wed Aug 29 08:23:30 2012 +0300
sink-input: Add a comment in pa_sink_input_request_rewind().
diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c
index d9fd35b..4db2017 100644
--- a/src/pulsecore/sink-input.c
+++ b/src/pulsecore/sink-input.c
@@ -1965,6 +1965,7 @@ void pa_sink_input_request_rewind(
i->thread_info.dont_rewind_render ||
dont_rewind_render;
+ /* nbytes is -1 if some earlier rewind request had rewrite == false. */
if (nbytes != (size_t) -1) {
/* Transform to sink domain */
commit 056bb3a39c166265e04286d03c906857bc1ad4a2
Author: Tanu Kaskinen <tanuk at iki.fi>
Date: Wed Aug 29 08:09:36 2012 +0300
sink-input: Fix comment: s/push/peek/
diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c
index f6f93b8..d9fd35b 100644
--- a/src/pulsecore/sink-input.c
+++ b/src/pulsecore/sink-input.c
@@ -989,7 +989,7 @@ void pa_sink_input_process_rewind(pa_sink_input *i, size_t nbytes /* in sink sam
if (i->thread_info.rewrite_nbytes == (size_t) -1) {
/* We were asked to drop all buffered data, and rerequest new
- * data from implementor the next time push() is called */
+ * data from implementor the next time peek() is called */
pa_memblockq_flush_write(i->thread_info.render_memblockq, TRUE);
More information about the pulseaudio-commits
mailing list