Loading...
Searching...
No Matches
pipewire.h
Go to the documentation of this file.
/* PipeWire */
/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
/* SPDX-License-Identifier: MIT */
#ifndef PIPEWIRE_H
#define PIPEWIRE_H
#include <spa/support/plugin.h>
// IWYU pragma: begin_exports
#include <pipewire/array.h>
#include <pipewire/client.h>
#include <pipewire/conf.h>
#include <pipewire/context.h>
#include <pipewire/device.h>
#include <pipewire/buffers.h>
#include <pipewire/core.h>
#include <pipewire/factory.h>
#include <pipewire/keys.h>
#include <pipewire/log.h>
#include <pipewire/loop.h>
#include <pipewire/link.h>
#include <pipewire/main-loop.h>
#include <pipewire/map.h>
#include <pipewire/mem.h>
#include <pipewire/module.h>
#include <pipewire/node.h>
#include <pipewire/properties.h>
#include <pipewire/proxy.h>
#include <pipewire/permission.h>
#include <pipewire/protocol.h>
#include <pipewire/port.h>
#include <pipewire/stream.h>
#include <pipewire/filter.h>
#include <pipewire/thread-loop.h>
#include <pipewire/data-loop.h>
#include <pipewire/timer-queue.h>
#include <pipewire/type.h>
#include <pipewire/utils.h>
#include <pipewire/version.h>
// IWYU pragma: end_exports
#ifdef __cplusplus
extern "C" {
#endif
void
pw_init(int *argc, char **argv[]);
void pw_deinit(void);
bool
pw_debug_is_category_enabled(const char *name);
const char *
pw_get_application_name(void);
const char *
pw_get_prgname(void);
const char *
pw_get_user_name(void);
const char *
pw_get_host_name(void);
const char *
pw_get_client_name(void);
bool pw_check_option(const char *option, const char *value);
enum pw_direction
pw_direction_reverse(enum pw_direction direction);
int pw_set_domain(const char *domain);
const char *pw_get_domain(void);
uint32_t pw_get_support(struct spa_support *support, uint32_t max_support);
struct spa_handle *pw_load_spa_handle(const char *lib,
const char *factory_name,
const struct spa_dict *info,
uint32_t n_support,
const struct spa_support support[]);
int pw_unload_spa_handle(struct spa_handle *handle);
#ifdef __cplusplus
}
#endif
#endif /* PIPEWIRE_H */
array.h
pipewire/array.h
client.h
pipewire/client.h
conf.h
pipewire/conf.h
core.h
pipewire/core.h
data-loop.h
pipewire/data-loop.h
factory.h
pipewire/factory.h
pw_init
void pw_init(int *argc, char **argv[])
Initialize PipeWire.
Definition pipewire.c:499
pw_get_support
uint32_t pw_get_support(struct spa_support *support, uint32_t max_support)
Definition pipewire.c:206
pw_get_prgname
const char * pw_get_prgname(void)
Get the program name.
Definition pipewire.c:701
pw_get_domain
const char * pw_get_domain(void)
Definition pipewire.c:390
pw_direction_reverse
enum pw_direction pw_direction_reverse(enum pw_direction direction)
Reverse the direction.
Definition pipewire.c:774
pw_check_option
bool pw_check_option(const char *option, const char *value)
Definition pipewire.c:741
pw_get_host_name
const char * pw_get_host_name(void)
Get the host name.
Definition pipewire.c:723
pw_get_application_name
const char * pw_get_application_name(void)
Get the application name.
Definition pipewire.c:658
pw_set_domain
int pw_set_domain(const char *domain)
Definition pipewire.c:378
pw_load_spa_handle
struct spa_handle * pw_load_spa_handle(const char *lib, const char *factory_name, const struct spa_dict *info, uint32_t n_support, const struct spa_support support[])
Definition pipewire.c:297
pw_debug_is_category_enabled
bool pw_debug_is_category_enabled(const char *name)
Check if a debug category is enabled.
Definition pipewire.c:649
pw_get_user_name
const char * pw_get_user_name(void)
Get the user name.
Definition pipewire.c:711
pw_unload_spa_handle
int pw_unload_spa_handle(struct spa_handle *handle)
Definition pipewire.c:332
pw_deinit
void pw_deinit(void)
Deinitialize PipeWire.
Definition pipewire.c:614
pw_get_client_name
const char * pw_get_client_name(void)
Get the client name.
Definition pipewire.c:760
pw_direction
#define pw_direction
The direction of a port.
Definition port.h:51
link.h
pipewire/link.h
main-loop.h
pipewire/main-loop.h
map.h
pipewire/map.h
module.h
pipewire/module.h
permission.h
pipewire/permission.h
plugin.h
spa/support/plugin.h
port.h
pipewire/port.h
properties.h
pipewire/properties.h
protocol.h
pipewire/protocol.h
proxy.h
pipewire/proxy.h
buffers.h
pipewire/buffers.h
context.h
pipewire/context.h
device.h
pipewire/device.h
filter.h
pipewire/filter.h
keys.h
pipewire/keys.h
log.h
pipewire/log.h
loop.h
pipewire/loop.h
mem.h
pipewire/mem.h
node.h
pipewire/node.h
type.h
pipewire/type.h
utils.h
stream.h
pipewire/stream.h
spa_dict
Definition dict.h:51
spa_handle
Definition plugin.h:43
spa_support
Extra supporting infrastructure passed to the init() function of a factory.
Definition plugin.h:98
thread-loop.h
pipewire/thread-loop.h
timer-queue.h
pipewire/timer-queue.h