mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-26 07:00:07 -05:00
update to new rewinding logic
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2380 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
9d7fde5fe3
commit
8afbdc375c
4 changed files with 8 additions and 17 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue