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.
This commit is contained in:
Pauli Virtanen 2025-11-09 01:45:21 +02:00
parent 3413ca9617
commit 567d5181ca

View file

@ -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;