mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05: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)
|
if (done)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (!(status & SPA_STATUS_HAVE_DATA))
|
||||||
|
spa_node_call_xrun(&this->callbacks, 0, 0, NULL);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
status = spa_node_process(this->follower);
|
status = spa_node_process(this->follower);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue