From d1c0244512d5be300a40f3fc3e35340923187314 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sat, 30 Jan 2021 20:38:47 +0100 Subject: [PATCH] pulser-server: keep updating missing bytes if prebuf == 0 --- src/modules/module-protocol-pulse/pulse-server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/module-protocol-pulse/pulse-server.c b/src/modules/module-protocol-pulse/pulse-server.c index 3de1423df..5696d6653 100644 --- a/src/modules/module-protocol-pulse/pulse-server.c +++ b/src/modules/module-protocol-pulse/pulse-server.c @@ -1570,6 +1570,8 @@ static void stream_process(void *data) } else { pd.underrun_for = size; pd.underrun = true; + if (stream->attr.prebuf == 0) + pd.missing = size; } if (stream->attr.prebuf == 0) { pd.read_index += size;