mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
add new dont_rewind_render flag to allow quick starts of newly created streams
This commit is contained in:
parent
06de6393d1
commit
75119e91cd
12 changed files with 32 additions and 22 deletions
|
|
@ -313,7 +313,7 @@ static int rtpoll_work_cb(pa_rtpoll_item *i) {
|
|||
if (pa_memblockq_is_readable(s->memblockq) &&
|
||||
s->sink_input->thread_info.underrun_for > 0) {
|
||||
pa_log_debug("Requesting rewind due to end of underrun");
|
||||
pa_sink_input_request_rewind(s->sink_input, 0, FALSE, TRUE);
|
||||
pa_sink_input_request_rewind(s->sink_input, 0, FALSE, TRUE, FALSE);
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue