pipewire.h
Go to the documentation of this file.
/* PipeWire
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __PIPEWIRE_H__
#define __PIPEWIRE_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <spa/support/plugin.h>
#include <pipewire/client.h>
#include <pipewire/core.h>
#include <pipewire/interfaces.h>
#include <pipewire/introspect.h>
#include <pipewire/link.h>
#include <pipewire/log.h>
#include <pipewire/loop.h>
#include <pipewire/main-loop.h>
#include <pipewire/module.h>
#include <pipewire/factory.h>
#include <pipewire/node.h>
#include <pipewire/port.h>
#include <pipewire/properties.h>
#include <pipewire/proxy.h>
#include <pipewire/remote.h>
#include <pipewire/resource.h>
#include <pipewire/stream.h>
#include <pipewire/thread-loop.h>
#include <pipewire/type.h>
#include <pipewire/utils.h>
#include <pipewire/version.h>
void
pw_init(int *argc, char **argv[]);
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);
char *
pw_get_client_name(void);
void
pw_fill_remote_properties(struct pw_core *core, struct pw_properties *properties);
void
pw_fill_stream_properties(struct pw_core *core, struct pw_properties *properties);
enum pw_direction
pw_direction_reverse(enum pw_direction direction);
void *
pw_get_support_interface(const char *type);
void *pw_get_spa_dbus(struct pw_loop *loop);
int pw_release_spa_dbus(void *dbus);
const struct spa_handle_factory *
pw_get_support_factory(const char *factory_name);
const struct spa_support *
pw_get_support(uint32_t *n_support);
#ifdef __cplusplus
}
#endif
#endif /* __PIPEWIRE_H__ */
pw_pipewire::pw_fill_remote_properties
SPA_EXPORT void pw_fill_remote_properties(struct pw_core *core, struct pw_properties *properties)
Fill remote properties.
Definition: pipewire.c:395
pw_pipewire::pw_get_client_name
SPA_EXPORT char * pw_get_client_name(void)
Get the client name.
Definition: pipewire.c:371
pw_properties
A collection of key/value pairs.
Definition: properties.h:38
node.h
pw_release_spa_dbus
int pw_release_spa_dbus(void *dbus)
Definition: pipewire.c:236
pw_get_support_factory
const struct spa_handle_factory * pw_get_support_factory(const char *factory_name)
Definition: pipewire.c:189
introspect.h
pw_loop
PipeWire loop object provides an implementation of the spa loop interfaces.
Definition: loop.h:37
pw_pipewire::pw_init
SPA_EXPORT void pw_init(int *argc, char **argv[])
Initialize PipeWire.
Definition: pipewire.c:263
pw_pipewire::pw_get_prgname
SPA_EXPORT const char * pw_get_prgname(void)
Get the program name.
Definition: pipewire.c:328
pw_pipewire::pw_debug_is_category_enabled
SPA_EXPORT bool pw_debug_is_category_enabled(const char *name)
Check if a debug category is enabled.
Definition: pipewire.c:305
core.h
pw_core
the core PipeWire object
stream.h
utils.h
loop.h
pw_pipewire::pw_fill_stream_properties
SPA_EXPORT void pw_fill_stream_properties(struct pw_core *core, struct pw_properties *properties)
Fill stream properties.
Definition: pipewire.c:436
pw_get_support_interface
void * pw_get_support_interface(const char *type)
Get a support interface.
Definition: pipewire.c:177
interfaces.h
thread-loop.h
resource.h
pw_pipewire::pw_get_application_name
SPA_EXPORT const char * pw_get_application_name(void)
Get the application name.
Definition: pipewire.c:321
factory.h
pw_get_support
const struct spa_support * pw_get_support(uint32_t *n_support)
Definition: pipewire.c:195
properties.h
pw_pipewire::pw_get_user_name
SPA_EXPORT const char * pw_get_user_name(void)
Get the user name.
Definition: pipewire.c:341
proxy.h
port.h
main-loop.h
remote.h
link.h
pw_pipewire::pw_get_host_name
SPA_EXPORT const char * pw_get_host_name(void)
Get the host name.
Definition: pipewire.c:353
client.h
log.h
module.h
pw_pipewire::pw_direction_reverse
enum pw_direction pw_direction_reverse(enum pw_direction direction)
Reverse the direction.
Definition: pipewire.c:441
pw_get_spa_dbus
void * pw_get_spa_dbus(struct pw_loop *loop)
Definition: pipewire.c:202
pw_direction
pw_direction
The direction of a port.
Definition: introspect.h:47
type.h