mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-13 13:30:05 -05:00
Work on introspection
This commit is contained in:
parent
7c29209023
commit
b969623ec8
39 changed files with 1726 additions and 574 deletions
|
|
@ -38,6 +38,8 @@ typedef enum {
|
|||
PINOS_MESSAGE_SYNC,
|
||||
PINOS_MESSAGE_NOTIFY_DONE,
|
||||
PINOS_MESSAGE_GET_REGISTRY,
|
||||
PINOS_MESSAGE_REMOVE_ID,
|
||||
PINOS_MESSAGE_CORE_INFO,
|
||||
|
||||
PINOS_MESSAGE_BIND,
|
||||
PINOS_MESSAGE_NOTIFY_GLOBAL,
|
||||
|
|
@ -50,7 +52,11 @@ typedef enum {
|
|||
PINOS_MESSAGE_CREATE_CLIENT_NODE_DONE,
|
||||
|
||||
PINOS_MESSAGE_DESTROY,
|
||||
PINOS_MESSAGE_DESTROY_DONE,
|
||||
|
||||
PINOS_MESSAGE_MODULE_INFO,
|
||||
PINOS_MESSAGE_NODE_INFO,
|
||||
PINOS_MESSAGE_CLIENT_INFO,
|
||||
PINOS_MESSAGE_LINK_INFO,
|
||||
|
||||
/* client to server */
|
||||
PINOS_MESSAGE_NODE_UPDATE,
|
||||
|
|
@ -78,6 +84,8 @@ typedef enum {
|
|||
|
||||
} PinosMessageType;
|
||||
|
||||
#include <pinos/client/introspect.h>
|
||||
|
||||
/* PINOS_MESSAGE_SYNC */
|
||||
typedef struct {
|
||||
uint32_t seq;
|
||||
|
|
@ -94,6 +102,36 @@ typedef struct {
|
|||
uint32_t new_id;
|
||||
} PinosMessageGetRegistry;
|
||||
|
||||
/* PINOS_MESSAGE_REMOVE_ID */
|
||||
typedef struct {
|
||||
uint32_t id;
|
||||
} PinosMessageRemoveId;
|
||||
|
||||
/* PINOS_MESSAGE_CORE_INFO */
|
||||
typedef struct {
|
||||
PinosCoreInfo *info;
|
||||
} PinosMessageCoreInfo;
|
||||
|
||||
/* PINOS_MESSAGE_MODULE_INFO */
|
||||
typedef struct {
|
||||
PinosModuleInfo *info;
|
||||
} PinosMessageModuleInfo;
|
||||
|
||||
/* PINOS_MESSAGE_NODE_INFO */
|
||||
typedef struct {
|
||||
PinosNodeInfo *info;
|
||||
} PinosMessageNodeInfo;
|
||||
|
||||
/* PINOS_MESSAGE_CLIENT_INFO */
|
||||
typedef struct {
|
||||
PinosClientInfo *info;
|
||||
} PinosMessageClientInfo;
|
||||
|
||||
/* PINOS_MESSAGE_LINK_INFO */
|
||||
typedef struct {
|
||||
PinosLinkInfo *info;
|
||||
} PinosMessageLinkInfo;
|
||||
|
||||
/* PINOS_MESSAGE_BIND */
|
||||
typedef struct {
|
||||
uint32_t id;
|
||||
|
|
@ -145,12 +183,6 @@ typedef struct {
|
|||
uint32_t id;
|
||||
} PinosMessageDestroy;
|
||||
|
||||
/* PINOS_MESSAGE_DESTROY_DONE */
|
||||
typedef struct {
|
||||
uint32_t seq;
|
||||
uint32_t id;
|
||||
} PinosMessageDestroyDone;
|
||||
|
||||
/* PINOS_MESSAGE_NODE_UPDATE */
|
||||
typedef struct {
|
||||
#define PINOS_MESSAGE_NODE_UPDATE_MAX_INPUTS (1 << 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue