mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
audioadapter: emit xrun when source can't produce data
This commit is contained in:
parent
79fb95bf90
commit
8c0f27c016
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue