mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
pod: cleanup event and command init
This commit is contained in:
parent
c9e177827b
commit
570575f052
4 changed files with 12 additions and 16 deletions
|
|
@ -41,10 +41,7 @@ enum spa_node_event {
|
|||
};
|
||||
|
||||
#define SPA_NODE_EVENT_ID(ev) SPA_EVENT_ID(ev, SPA_TYPE_EVENT_Node)
|
||||
|
||||
#define SPA_NODE_EVENT_INIT(id) (struct spa_event) \
|
||||
{ { sizeof(struct spa_event_body), SPA_TYPE_Object }, \
|
||||
{ { SPA_TYPE_EVENT_Node, id } } } \
|
||||
#define SPA_NODE_EVENT_INIT(id) SPA_EVENT_INIT(SPA_TYPE_EVENT_Node, id)
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue