mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
support: return completion from process
HAVE_DATA|NEED_DATA signals that the graph can continue processing. OK means that the node will continue asynchronously later. This is needed to make the dummy driver work as a follower.
This commit is contained in:
parent
21616a25ad
commit
f1f5cbc0a6
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ static int impl_node_process(void *object)
|
|||
this->next_time = SPA_TIMESPEC_TO_NSEC(&now);
|
||||
set_timeout(this, this->next_time);
|
||||
}
|
||||
return SPA_STATUS_OK;
|
||||
return SPA_STATUS_HAVE_DATA | SPA_STATUS_NEED_DATA;
|
||||
}
|
||||
|
||||
static const struct spa_node_methods impl_node = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue