PipeWire: pipewire.h Source File

PipeWire 0.3.71

Loading...
Searching...
No Matches
pipewire.h
Go to the documentation of this file.
1/* PipeWire */
2/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef PIPEWIRE_H
6#define PIPEWIRE_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12#include <spa/support/plugin.h>
13
14#include <pipewire/array.h>
15#include <pipewire/client.h>
16#include <pipewire/conf.h>
17#include <pipewire/context.h>
18#include <pipewire/device.h>
19#include <pipewire/buffers.h>
20#include <pipewire/core.h>
21#include <pipewire/factory.h>
22#include <pipewire/keys.h>
23#include <pipewire/log.h>
24#include <pipewire/loop.h>
25#include <pipewire/link.h>
26#include <pipewire/main-loop.h>
27#include <pipewire/map.h>
28#include <pipewire/mem.h>
29#include <pipewire/module.h>
30#include <pipewire/node.h>
31#include <pipewire/properties.h>
32#include <pipewire/proxy.h>
33#include <pipewire/permission.h>
34#include <pipewire/protocol.h>
35#include <pipewire/port.h>
36#include <pipewire/stream.h>
37#include <pipewire/filter.h>
38#include <pipewire/thread-loop.h>
39#include <pipewire/data-loop.h>
40#include <pipewire/type.h>
41#include <pipewire/utils.h>
42#include <pipewire/version.h>
43
52void
53 pw_init(int *argc, char **argv[]);
54
55void pw_deinit(void);
56
57bool
58 pw_debug_is_category_enabled(const char *name);
59
60const char *
61 pw_get_application_name(void);
62
63const char *
64 pw_get_prgname(void);
65
66const char *
67 pw_get_user_name(void);
68
69const char *
70 pw_get_host_name(void);
71
72const char *
73 pw_get_client_name(void);
74
75bool pw_in_valgrind(void);
76
77bool pw_check_option(const char *option, const char *value);
78
79enum pw_direction
80 pw_direction_reverse(enum pw_direction direction);
81
82int pw_set_domain(const char *domain);
83const char *pw_get_domain(void);
84
85uint32_t pw_get_support(struct spa_support *support, uint32_t max_support);
86
87struct spa_handle *pw_load_spa_handle(const char *lib,
88 const char *factory_name,
89 const struct spa_dict *info,
90 uint32_t n_support,
91 const struct spa_support support[]);
92
93int pw_unload_spa_handle(struct spa_handle *handle);
94
99#ifdef __cplusplus
100}
101#endif
102
103#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:558
pw_get_support
uint32_t pw_get_support(struct spa_support *support, uint32_t max_support)
Definition pipewire.c:199
pw_get_prgname
const char * pw_get_prgname(void)
Get the program name.
Definition pipewire.c:755
pw_in_valgrind
bool pw_in_valgrind(void)
Definition pipewire.c:789
pw_get_domain
const char * pw_get_domain(void)
Definition pipewire.c:372
pw_direction_reverse
enum pw_direction pw_direction_reverse(enum pw_direction direction)
Reverse the direction.
Definition pipewire.c:828
pw_check_option
bool pw_check_option(const char *option, const char *value)
Definition pipewire.c:795
pw_get_host_name
const char * pw_get_host_name(void)
Get the host name.
Definition pipewire.c:777
pw_get_application_name
const char * pw_get_application_name(void)
Get the application name.
Definition pipewire.c:712
pw_set_domain
int pw_set_domain(const char *domain)
Definition pipewire.c:360
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:287
pw_debug_is_category_enabled
bool pw_debug_is_category_enabled(const char *name)
Check if a debug category is enabled.
Definition pipewire.c:703
pw_get_user_name
const char * pw_get_user_name(void)
Get the user name.
Definition pipewire.c:765
pw_unload_spa_handle
int pw_unload_spa_handle(struct spa_handle *handle)
Definition pipewire.c:314
pw_deinit
void pw_deinit(void)
Deinitialize PipeWire.
Definition pipewire.c:668
pw_get_client_name
const char * pw_get_client_name(void)
Get the client name.
Definition pipewire.c:814
pw_direction
#define pw_direction
The direction of a port.
Definition port.h:43
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 utils/dict.h:39
spa_handle
Definition plugin.h:30
spa_support
Extra supporting infrastructure passed to the init() function of a factory.
Definition plugin.h:76
thread-loop.h
pipewire/thread-loop.h