mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
Improve init functions
spa_pod_id has uint32_t value
This commit is contained in:
parent
a092b9312a
commit
2f66e17180
10 changed files with 45 additions and 43 deletions
|
|
@ -95,7 +95,7 @@ struct spa_command_node_clock_update {
|
|||
};
|
||||
|
||||
#define SPA_COMMAND_NODE_CLOCK_UPDATE_INIT(type,change_mask,rate,ticks,monotonic_time,offset,scale,state,flags,latency) \
|
||||
SPA_COMMAND_INIT_COMPLEX(struct spa_command_node_clock_update, \
|
||||
SPA_COMMAND_INIT_FULL(struct spa_command_node_clock_update, \
|
||||
sizeof(struct spa_command_node_clock_update_body), type, \
|
||||
SPA_POD_INT_INIT(change_mask), \
|
||||
SPA_POD_INT_INIT(rate), \
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ struct spa_event_node_request_clock_update {
|
|||
};
|
||||
|
||||
#define SPA_EVENT_NODE_REQUEST_CLOCK_UPDATE_INIT(type,update_mask,timestamp,offset) \
|
||||
SPA_EVENT_INIT_COMPLEX(struct spa_event_node_request_clock_update, \
|
||||
SPA_EVENT_INIT_FULL(struct spa_event_node_request_clock_update, \
|
||||
sizeof(struct spa_event_node_request_clock_update_body), type, \
|
||||
SPA_POD_INT_INIT(update_mask), \
|
||||
SPA_POD_LONG_INIT(timestamp), \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue