PipeWire: spa/param/peer-types.h Source File

PipeWire 1.6.7

Loading...
Searching...
No Matches
peer-types.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_PARAM_PEER_TYPES_H
6#define SPA_PARAM_PEER_TYPES_H
7
8#include <spa/utils/enum-types.h>
9#include <spa/param/param-types.h>
10#include <spa/param/peer.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
20
21#define SPA_TYPE_INFO_PeerParam SPA_TYPE_INFO_OBJECT_BASE "PeerParam"
22#define SPA_TYPE_INFO_PEER_PARAM_BASE SPA_TYPE_INFO_PeerParam ":"
23
24static const struct spa_type_info spa_type_peer_param[] = {
25 { SPA_PEER_PARAM_START, SPA_TYPE_Id, SPA_TYPE_INFO_PEER_PARAM_BASE, spa_type_param, },
26 { SPA_ID_INVALID, SPA_TYPE_Id, SPA_TYPE_INFO_PEER_PARAM_BASE, NULL, },
27 { 0, 0, NULL, NULL },
28};
29
31 * \}
32 */
33
34#ifdef __cplusplus
35} /* extern "C" */
36#endif
37
38#endif /* SPA_PARAM_PEER_TYPES_H */
enum-types.h
spa/utils/enum-types.h
spa_type_peer_param
static const struct spa_type_info spa_type_peer_param[]
Definition peer-types.h:31
spa_type_param
static const struct spa_type_info spa_type_param[]
Definition param-types.h:32
SPA_TYPE_INFO_PEER_PARAM_BASE
#define SPA_TYPE_INFO_PEER_PARAM_BASE
Definition peer-types.h:29
SPA_PEER_PARAM_START
@ SPA_PEER_PARAM_START
id of peer as key, SPA_TYPE_Pod as value
Definition peer.h:26
SPA_TYPE_Id
@ SPA_TYPE_Id
Definition type.h:44
SPA_ID_INVALID
#define SPA_ID_INVALID
Definition defs.h:250
param-types.h
spa/param/param-types.h
peer.h
spa/param/peer.h
spa_type_info
Definition type.h:156