pulse-server: after uncork, ask for missing data

When we uncork, ask for any missing data immediately so that we don't
underrun in the next process cycle.

See #1981
This commit is contained in:
Wim Taymans 2022-01-07 10:41:10 +01:00
parent 9eddd0474f
commit ab425d44b8

View file

@ -2485,6 +2485,7 @@ static int do_cork_stream(struct client *client, uint32_t command, uint32_t tag,
} else { } else {
stream->playing_for = 0; stream->playing_for = 0;
stream->underrun_for = -1; stream->underrun_for = -1;
stream_send_request(stream);
} }
return reply_simple_ack(client, tag); return reply_simple_ack(client, tag);