PipeWire 1.2.1
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>
39#include <pipewire/data-loop.h>
40#include <pipewire/type.h>
41#include <pipewire/utils.h>
42#include <pipewire/version.h>
43
52void
53pw_init(int *argc, char **argv[]);
54
55void pw_deinit(void);
56
57bool
58pw_debug_is_category_enabled(const char *name);
59
60const char *
62
63const char *
64pw_get_prgname(void);
65
66const char *
68
69const char *
71
72const char *
74
75bool pw_check_option(const char *option, const char *value);
76
77enum pw_direction
79
80int pw_set_domain(const char *domain);
81const char *pw_get_domain(void);
82
83uint32_t pw_get_support(struct spa_support *support, uint32_t max_support);
84
85struct spa_handle *pw_load_spa_handle(const char *lib,
86 const char *factory_name,
87 const struct spa_dict *info,
88 uint32_t n_support,
89 const struct spa_support support[]);
90
91int pw_unload_spa_handle(struct spa_handle *handle);
92
97#ifdef __cplusplus
98}
99#endif
100
101#endif /* PIPEWIRE_H */
pipewire/array.h
pipewire/client.h
pipewire/conf.h
pipewire/core.h
pipewire/data-loop.h
pipewire/factory.h
void pw_init(int *argc, char **argv[])
Initialize PipeWire.
Definition pipewire.c:488
uint32_t pw_get_support(struct spa_support *support, uint32_t max_support)
Definition pipewire.c:206
const char * pw_get_prgname(void)
Get the program name.
Definition pipewire.c:687
const char * pw_get_domain(void)
Definition pipewire.c:379
enum pw_direction pw_direction_reverse(enum pw_direction direction)
Reverse the direction.
Definition pipewire.c:760
bool pw_check_option(const char *option, const char *value)
Definition pipewire.c:727
const char * pw_get_host_name(void)
Get the host name.
Definition pipewire.c:709
const char * pw_get_application_name(void)
Get the application name.
Definition pipewire.c:644
int pw_set_domain(const char *domain)
Definition pipewire.c:367
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:294
bool pw_debug_is_category_enabled(const char *name)
Check if a debug category is enabled.
Definition pipewire.c:635
const char * pw_get_user_name(void)
Get the user name.
Definition pipewire.c:697
int pw_unload_spa_handle(struct spa_handle *handle)
Definition pipewire.c:321
void pw_deinit(void)
Deinitialize PipeWire.
Definition pipewire.c:600
const char * pw_get_client_name(void)
Get the client name.
Definition pipewire.c:746
#define pw_direction
The direction of a port.
Definition port.h:46
pipewire/main-loop.h
pipewire/map.h
pipewire/module.h
pipewire/permission.h
spa/support/plugin.h
pipewire/port.h
pipewire/properties.h
pipewire/protocol.h
pipewire/proxy.h
pipewire/buffers.h
pipewire/context.h
pipewire/device.h
pipewire/filter.h
pipewire/keys.h
pipewire/log.h
pipewire/loop.h
pipewire/mem.h
pipewire/node.h
pipewire/type.h
pipewire/stream.h
Definition dict.h:39
Definition plugin.h:30
Extra supporting infrastructure passed to the init() function of a factory.
Definition plugin.h:76
pipewire/thread-loop.h