2023-02-08 18:12:00 +01:00
|
|
|
/* PipeWire */
|
|
|
|
|
/* SPDX-FileCopyrightText: Copyright © 2019 Wim Taymans */
|
|
|
|
|
/* SPDX-License-Identifier: MIT */
|
2019-07-02 17:34:26 +02:00
|
|
|
|
|
|
|
|
#ifndef PIPEWIRE_ADAPTER_H
|
|
|
|
|
#define PIPEWIRE_ADAPTER_H
|
|
|
|
|
|
2019-12-11 10:57:10 +01:00
|
|
|
#include <pipewire/impl.h>
|
2019-07-02 17:34:26 +02:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define ADAPTER_USAGE PW_KEY_NODE_NAME"=<string> "
|
|
|
|
|
|
2019-12-11 12:41:45 +01:00
|
|
|
struct pw_impl_node *
|
2019-12-10 18:19:56 +01:00
|
|
|
pw_adapter_new(struct pw_context *context,
|
2022-05-11 12:28:26 +02:00
|
|
|
struct spa_node *follower,
|
2019-07-02 17:34:26 +02:00
|
|
|
struct pw_properties *properties,
|
|
|
|
|
size_t user_data_size);
|
|
|
|
|
|
2019-12-11 12:41:45 +01:00
|
|
|
void *pw_adapter_get_user_data(struct pw_impl_node *node);
|
2019-07-02 17:34:26 +02:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif /* PIPEWIRE_ADAPTER_H */
|