PipeWire
0.3.27
|
PipeWire initialization and infrastructure functions. More...
Public Member Functions | |
SPA_EXPORT void | pw_init (int *argc, char **argv[]) |
Initialize PipeWire. More... | |
SPA_EXPORT bool | pw_debug_is_category_enabled (const char *name) |
Check if a debug category is enabled. More... | |
SPA_EXPORT const char * | pw_get_application_name (void) |
Get the application name. More... | |
SPA_EXPORT const char * | pw_get_prgname (void) |
Get the program name. More... | |
SPA_EXPORT const char * | pw_get_user_name (void) |
Get the user name. More... | |
SPA_EXPORT const char * | pw_get_host_name (void) |
Get the host name. More... | |
SPA_EXPORT const char * | pw_get_client_name (void) |
Get the client name. More... | |
SPA_EXPORT enum pw_direction | pw_direction_reverse (enum pw_direction direction) |
Reverse the direction. More... | |
PipeWire initialization and infrastructure functions.
SPA_EXPORT bool pw_debug_is_category_enabled | ( | const char * | name | ) |
Check if a debug category is enabled.
name | the name of the category to check |
Debugging categories can be enabled by using the PIPEWIRE_DEBUG environment variable
References support::categories.
SPA_EXPORT enum pw_direction pw_direction_reverse | ( | enum pw_direction | direction | ) |
Reverse the direction.
References PW_DIRECTION_INPUT, and PW_DIRECTION_OUTPUT.
Referenced by pw_impl_port_add(), pw_impl_port_init_mix(), pw_impl_port_set_mix(), and pw_impl_port_set_param().
SPA_EXPORT const char * pw_get_application_name | ( | void | ) |
Get the application name.
Referenced by pw_get_client_name().
SPA_EXPORT const char * pw_get_client_name | ( | void | ) |
Get the client name.
Make a new PipeWire client name that can be used to construct a remote.
References pw_get_application_name(), and pw_get_prgname().
SPA_EXPORT const char * pw_get_host_name | ( | void | ) |
Get the host name.
Referenced by pw_context_create_core().
SPA_EXPORT const char * pw_get_prgname | ( | void | ) |
Get the program name.
Referenced by pw_get_client_name().
SPA_EXPORT const char * pw_get_user_name | ( | void | ) |
Get the user name.
Referenced by pw_context_create_core().
SPA_EXPORT void pw_init | ( | int * | argc, |
char ** | argv[] | ||
) |
Initialize PipeWire.
argc | pointer to argc |
argv | pointer to argv |
Initialize the PipeWire system, parse and modify any parameters given by argc and argv and set up debugging.
The environment variable PIPEWIRE_DEBUG
References support::in_valgrind, support::n_support, support::plugin_dir, registry::plugins, pw_get_library_version(), pw_log::pw_log_get(), pw_log::pw_log_info, pw_log_is_default(), pw_log_level, pw_log::pw_log_set(), support::registry, support::support, support::support_lib, and SUPPORTLIB.