2023-02-08 18:12:00 +01:00
|
|
|
/* PipeWire */
|
|
|
|
|
/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
|
|
|
|
|
/* SPDX-License-Identifier: MIT */
|
2017-05-23 19:15:33 +02:00
|
|
|
|
2019-01-14 12:58:23 +01:00
|
|
|
#ifndef PIPEWIRE_CLIENT_NODE_H
|
|
|
|
|
#define PIPEWIRE_CLIENT_NODE_H
|
2017-05-23 19:15:33 +02:00
|
|
|
|
2019-12-11 10:57:10 +01:00
|
|
|
#include <pipewire/impl.h>
|
2021-06-18 17:51:24 +03:00
|
|
|
#include <pipewire/extensions/client-node.h>
|
2017-05-23 19:15:33 +02:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2019-12-11 16:13:46 +01:00
|
|
|
/** \class pw_impl_client_node
|
2017-05-23 19:15:33 +02:00
|
|
|
*
|
|
|
|
|
* PipeWire client node interface
|
|
|
|
|
*/
|
2019-12-11 16:13:46 +01:00
|
|
|
struct pw_impl_client_node {
|
2019-12-11 12:41:45 +01:00
|
|
|
struct pw_impl_node *node;
|
2017-05-23 19:15:33 +02:00
|
|
|
|
2017-05-26 08:05:01 +02:00
|
|
|
struct pw_resource *resource;
|
2019-02-20 17:51:05 +01:00
|
|
|
uint32_t flags;
|
2017-05-23 19:15:33 +02:00
|
|
|
};
|
|
|
|
|
|
2019-12-11 16:13:46 +01:00
|
|
|
struct pw_impl_client_node *
|
|
|
|
|
pw_impl_client_node_new(struct pw_resource *resource,
|
2018-04-13 20:05:46 +02:00
|
|
|
struct pw_properties *properties,
|
|
|
|
|
bool do_register);
|
2017-05-23 19:15:33 +02:00
|
|
|
|
2017-05-26 08:05:01 +02:00
|
|
|
void
|
2019-12-11 16:13:46 +01:00
|
|
|
pw_impl_client_node_destroy(struct pw_impl_client_node *node);
|
2017-05-26 08:05:01 +02:00
|
|
|
|
2019-12-11 16:13:46 +01:00
|
|
|
void pw_impl_client_node_registered(struct pw_impl_client_node *node, struct pw_global *global);
|
2018-06-18 13:19:54 +02:00
|
|
|
|
2017-05-23 19:15:33 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2019-01-14 12:58:23 +01:00
|
|
|
#endif /* PIPEWIRE_CLIENT_NODE_H */
|