PipeWire  0.3.66
node/command.h
Go to the documentation of this file.
1 /* Simple Plugin API */
2 /* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3 /* SPDX-License-Identifier: MIT */
4 
5 #ifndef SPA_COMMAND_NODE_H
6 #define SPA_COMMAND_NODE_H
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
17 #include <spa/pod/command.h>
18 
19 /* object id of SPA_TYPE_COMMAND_Node */
20 enum spa_node_command {
39 };
40 
41 #define SPA_NODE_COMMAND_ID(cmd) SPA_COMMAND_ID(cmd, SPA_TYPE_COMMAND_Node)
42 #define SPA_NODE_COMMAND_INIT(id) SPA_COMMAND_INIT(SPA_TYPE_COMMAND_Node, id)
43 
44 
49 #ifdef __cplusplus
50 } /* extern "C" */
51 #endif
52 
53 #endif /* SPA_COMMAND_NODE_H */
spa_node_command
Definition: node/command.h:25
@ SPA_NODE_COMMAND_RequestProcess
Sent to a driver when some other node emitted the RequestProcess event.
Definition: node/command.h:42
@ SPA_NODE_COMMAND_Disable
Definition: node/command.h:33
@ SPA_NODE_COMMAND_Flush
Definition: node/command.h:34
@ SPA_NODE_COMMAND_Enable
Definition: node/command.h:32
@ SPA_NODE_COMMAND_Suspend
suspend a node, this removes all configured formats and closes any devices
Definition: node/command.h:26
@ SPA_NODE_COMMAND_Pause
pause a node.
Definition: node/command.h:28
@ SPA_NODE_COMMAND_Drain
Definition: node/command.h:35
@ SPA_NODE_COMMAND_Marker
Definition: node/command.h:36
@ SPA_NODE_COMMAND_ParamBegin
begin a set of parameter enumerations or configuration that require the device to remain opened,...
Definition: node/command.h:37
@ SPA_NODE_COMMAND_Start
start a node, this makes it start emitting scheduling events
Definition: node/command.h:30
@ SPA_NODE_COMMAND_ParamEnd
end a transaction
Definition: node/command.h:41
spa/pod/command.h