mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-17 06:46:24 -04:00
pulse-server: update initial stream is_paused state
When the stream starts corked, we set the INACTIVE flag and we also need to set the stream state as PAUSED or else uncork will not unpause anything.
This commit is contained in:
parent
03fd89abea
commit
e490c503fd
1 changed files with 2 additions and 0 deletions
|
|
@ -1779,6 +1779,7 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui
|
||||||
goto error_errno;
|
goto error_errno;
|
||||||
|
|
||||||
stream->corked = corked;
|
stream->corked = corked;
|
||||||
|
stream->is_paused = corked;
|
||||||
stream->adjust_latency = adjust_latency;
|
stream->adjust_latency = adjust_latency;
|
||||||
stream->early_requests = early_requests;
|
stream->early_requests = early_requests;
|
||||||
stream->volume = volume;
|
stream->volume = volume;
|
||||||
|
|
@ -2059,6 +2060,7 @@ static int do_create_record_stream(struct client *client, uint32_t command, uint
|
||||||
goto error_errno;
|
goto error_errno;
|
||||||
|
|
||||||
stream->corked = corked;
|
stream->corked = corked;
|
||||||
|
stream->is_paused = corked;
|
||||||
stream->adjust_latency = adjust_latency;
|
stream->adjust_latency = adjust_latency;
|
||||||
stream->early_requests = early_requests;
|
stream->early_requests = early_requests;
|
||||||
stream->volume = volume;
|
stream->volume = volume;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue