diff options
author | Wim Taymans <wtaymans@redhat.com> | 2019-11-15 13:32:23 +0100 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2019-11-29 13:34:07 +0100 |
commit | ddd185e7493118ca78ee78bb049987cc26c21fff (patch) | |
tree | 8de61fc7cd82cec01a9d5905750da6f56b6a1687 | |
parent | 3cd7d90d885950f82cf19ea79973dbf3091e4180 (diff) |
session-manager: pass param id as POD_Id
-rw-r--r-- | src/modules/module-session-manager/protocol-native.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/module-session-manager/protocol-native.c b/src/modules/module-session-manager/protocol-native.c index 1133c7d2..3a95c82f 100644 --- a/src/modules/module-session-manager/protocol-native.c +++ b/src/modules/module-session-manager/protocol-native.c @@ -507,7 +507,7 @@ static int client_endpoint_demarshal_set_param(void *object, spa_pod_parser_init(&prs, msg->data, msg->size); if (spa_pod_parser_get_struct(&prs, - SPA_POD_Int(&id), + SPA_POD_Id(&id), SPA_POD_Int(&flags), SPA_POD_PodObject(¶m)) < 0) return -EINVAL; @@ -527,7 +527,7 @@ static int client_endpoint_demarshal_stream_set_param(void *object, spa_pod_parser_init(&prs, msg->data, msg->size); if (spa_pod_parser_get_struct(&prs, SPA_POD_Int(&stream_id), - SPA_POD_Int(&id), + SPA_POD_Id(&id), SPA_POD_Int(&flags), SPA_POD_PodObject(¶m)) < 0) return -EINVAL; @@ -706,7 +706,7 @@ static int client_session_marshal_set_param (void *object, PW_CLIENT_SESSION_PROXY_EVENT_SET_PARAM, NULL); spa_pod_builder_add_struct(b, - SPA_POD_Int(id), + SPA_POD_Id(id), SPA_POD_Int(flags), SPA_POD_Pod(param)); @@ -852,7 +852,7 @@ static int client_session_demarshal_set_param(void *object, spa_pod_parser_init(&prs, msg->data, msg->size); if (spa_pod_parser_get_struct(&prs, - SPA_POD_Int(&id), + SPA_POD_Id(&id), SPA_POD_Int(&flags), SPA_POD_PodObject(¶m)) < 0) return -EINVAL; @@ -872,7 +872,7 @@ static int client_session_demarshal_link_set_param(void *object, spa_pod_parser_init(&prs, msg->data, msg->size); if (spa_pod_parser_get_struct(&prs, SPA_POD_Int(&link_id), - SPA_POD_Int(&id), + SPA_POD_Id(&id), SPA_POD_Int(&flags), SPA_POD_PodObject(¶m)) < 0) return -EINVAL; @@ -953,7 +953,7 @@ static int client_session_demarshal_link_update(void *object, spa_pod_parser_init(&prs[0], msg->data, msg->size); if (spa_pod_parser_push_struct(&prs[0], &f[0]) < 0 || spa_pod_parser_get(&prs[0], - SPA_POD_Int(&link_id), + SPA_POD_Int(&link_id), SPA_POD_Int(&change_mask), SPA_POD_Int(&n_params), NULL) < 0) return -EINVAL; |