mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-04 06:46:24 -04: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
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue