summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/protocol-native.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-05-07 01:38:16 +0000
committerLennart Poettering <lennart@poettering.net>2008-05-07 01:38:16 +0000
commit8afbdc375c23c21d484df456d22e982a8e26d85b (patch)
tree9f528c1545c701dc6f50f9533c3aaacc4e558474 /src/pulsecore/protocol-native.c
parent9d7fde5fe33aeebf2b0047f63359d4b051c9579c (diff)
update to new rewinding logic
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2380 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/protocol-native.c')
-rw-r--r--src/pulsecore/protocol-native.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c
index d6e5602e..7eeefb84 100644
--- a/src/pulsecore/protocol-native.c
+++ b/src/pulsecore/protocol-native.c
@@ -1116,7 +1116,7 @@ static void handle_seek(playback_stream *s, int64_t indexw) {
pa_log_debug("Requesting rewind due to end of underrun.");
pa_sink_input_request_rewind(s->sink_input,
s->sink_input->thread_info.underrun_for == (size_t) -1 ? 0 : s->sink_input->thread_info.underrun_for,
- TRUE, TRUE);
+ FALSE, TRUE);
}
} else {
@@ -1129,7 +1129,7 @@ static void handle_seek(playback_stream *s, int64_t indexw) {
* let's have it usk us again */
pa_log_debug("Requesting rewind due to rewrite.");
- pa_sink_input_request_rewind(s->sink_input, indexr - indexw, FALSE, FALSE);
+ pa_sink_input_request_rewind(s->sink_input, indexr - indexw, TRUE, FALSE);
}
}