From ab425d44b8a4f04037133d1a075457c05157ecda Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 7 Jan 2022 10:41:10 +0100 Subject: [PATCH] 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 --- src/modules/module-protocol-pulse/pulse-server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/module-protocol-pulse/pulse-server.c b/src/modules/module-protocol-pulse/pulse-server.c index d0ebaeefd..dcad7d1c9 100644 --- a/src/modules/module-protocol-pulse/pulse-server.c +++ b/src/modules/module-protocol-pulse/pulse-server.c @@ -2485,6 +2485,7 @@ static int do_cork_stream(struct client *client, uint32_t command, uint32_t tag, } else { stream->playing_for = 0; stream->underrun_for = -1; + stream_send_request(stream); } return reply_simple_ack(client, tag);