audioadapter: emit xrun when source can't produce data

This commit is contained in:
Wim Taymans 2020-11-17 17:18:14 +01:00
parent 79fb95bf90
commit 8c0f27c016

View file

@ -969,6 +969,9 @@ static int impl_node_process(void *object)
if (done)
break;
}
if (!(status & SPA_STATUS_HAVE_DATA))
spa_node_call_xrun(&this->callbacks, 0, 0, NULL);
} else {
status = spa_node_process(this->follower);
}