From 567d5181ca280ab76ef6fe828ea90e94521a9261 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sun, 9 Nov 2025 01:45:21 +0200 Subject: [PATCH] bluez5: iso-io: force resync after underrun If stream underruns we should resync playback position on next cycle as there is anyway a sound glitch. --- spa/plugins/bluez5/iso-io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/spa/plugins/bluez5/iso-io.c b/spa/plugins/bluez5/iso-io.c index 2f991b8ca..a512314c4 100644 --- a/spa/plugins/bluez5/iso-io.c +++ b/spa/plugins/bluez5/iso-io.c @@ -309,6 +309,7 @@ static void group_on_timeout(struct spa_source *source) if (stream->this.size == 0) { spa_log_debug(group->log, "%p: ISO group:%u miss fd:%d", group, group->id, stream->fd); + stream->this.resync = true; if (stream_silence(stream) < 0) { fail = true; continue;