mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04: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
|
|
@ -504,7 +504,7 @@ static void sink_input_state_change_cb(pa_sink_input *i, pa_sink_input_state_t s
|
|||
* we are heard right-away. */
|
||||
if (PA_SINK_INPUT_IS_LINKED(state) &&
|
||||
i->thread_info.state == PA_SINK_INPUT_INIT)
|
||||
pa_sink_input_request_rewind(i, 0, FALSE, TRUE);
|
||||
pa_sink_input_request_rewind(i, 0, FALSE, TRUE, TRUE);
|
||||
}
|
||||
|
||||
/* Called from thread context */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue