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:
Wim Taymans 2021-10-19 15:59:21 +02:00
parent 7529e7c47c
commit 3471391e0e
3 changed files with 6 additions and 0 deletions

View file

@ -54,6 +54,8 @@ enum spa_node_command {
* remain opened, like query formats and then
* set a format */
SPA_NODE_COMMAND_ParamEnd, /**< end a transaction */
SPA_NODE_COMMAND_RequestProcess,/**< Sent to a driver when some other node emitted
* the RequestProcess event. */
};
#define SPA_NODE_COMMAND_ID(cmd) SPA_COMMAND_ID(cmd, SPA_TYPE_COMMAND_Node)