mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
add const to spa_event and spa_command
This commit is contained in:
parent
4661ee882c
commit
5299677f88
10 changed files with 11 additions and 11 deletions
|
|
@ -1089,7 +1089,7 @@ static int client_node_set_active(void *data, bool active)
|
|||
return pw_node_set_active(impl->this.node, active);
|
||||
}
|
||||
|
||||
static int client_node_event(void *data, struct spa_event *event)
|
||||
static int client_node_event(void *data, const struct spa_event *event)
|
||||
{
|
||||
struct impl *impl = data;
|
||||
struct node *this = &impl->node;
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ static int client_node_marshal_set_active(void *object, bool active)
|
|||
return pw_protocol_native_end_proxy(proxy, b);
|
||||
}
|
||||
|
||||
static int client_node_marshal_event_method(void *object, struct spa_event *event)
|
||||
static int client_node_marshal_event_method(void *object, const struct spa_event *event)
|
||||
{
|
||||
struct pw_proxy *proxy = object;
|
||||
struct spa_pod_builder *b;
|
||||
|
|
@ -1007,7 +1007,7 @@ static int client_node_demarshal_event_method(void *object, const struct pw_prot
|
|||
{
|
||||
struct pw_resource *resource = object;
|
||||
struct spa_pod_parser prs;
|
||||
struct spa_event *event;
|
||||
const struct spa_event *event;
|
||||
|
||||
spa_pod_parser_init(&prs, msg->data, msg->size);
|
||||
if (spa_pod_parser_get_struct(&prs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue