mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
spa: add RequestProcess command and event
The event is emitted by a node that is not a driver but wants the graph to be scheduled. The command is sent to the driver and suggest that the graph be scheduled.
This commit is contained in:
parent
7529e7c47c
commit
3471391e0e
3 changed files with 6 additions and 0 deletions
|
|
@ -41,6 +41,8 @@ enum spa_node_event {
|
|||
SPA_NODE_EVENT_Error,
|
||||
SPA_NODE_EVENT_Buffering,
|
||||
SPA_NODE_EVENT_RequestRefresh,
|
||||
SPA_NODE_EVENT_RequestProcess, /*< Ask the driver to start processing
|
||||
* the graph */
|
||||
};
|
||||
|
||||
#define SPA_NODE_EVENT_ID(ev) SPA_EVENT_ID(ev, SPA_TYPE_EVENT_Node)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue