PipeWire
0.3.33
|
Functions | |
void | pw_init (int *argc, char **argv[]) |
Initialize PipeWire. More... | |
void | pw_deinit (void) |
bool | pw_debug_is_category_enabled (const char *name) |
Check if a debug category is enabled. More... | |
const char * | pw_get_application_name (void) |
Get the application name. More... | |
const char * | pw_get_prgname (void) |
Get the program name. More... | |
const char * | pw_get_user_name (void) |
Get the user name. More... | |
const char * | pw_get_host_name (void) |
Get the host name. More... | |
const char * | pw_get_client_name (void) |
Get the client name. More... | |
bool | pw_in_valgrind (void) |
bool | pw_check_option (const char *option, const char *value) |
enum pw_direction | pw_direction_reverse (enum pw_direction direction) |
Reverse the direction. More... | |
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) |
bool pw_check_option | ( | const char * | option, |
const char * | value | ||
) |
References spa_streq().
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
void pw_deinit | ( | void | ) |
enum pw_direction pw_direction_reverse | ( | enum pw_direction | direction | ) |
Reverse the direction.
Referenced by pw_impl_port_set_mix().
const char* pw_get_application_name | ( | void | ) |
Get the application name.
Referenced by pw_get_client_name().
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().
const char* pw_get_domain | ( | void | ) |
const char* pw_get_host_name | ( | void | ) |
Get the host name.
Referenced by pw_context_create_core().
const char* pw_get_prgname | ( | void | ) |
Get the program name.
Referenced by pw_get_client_name().
uint32_t pw_get_support | ( | struct spa_support * | support, |
uint32_t | max_support | ||
) |
References SPA_MIN.
Referenced by pw_loop_new().
const char* pw_get_user_name | ( | void | ) |
Get the user name.
Referenced by pw_context_create_core().
bool pw_in_valgrind | ( | void | ) |
Referenced by pw_impl_module_destroy().
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
Referenced by main().
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[] | ||
) |
Referenced by pw_context_load_spa_handle(), and pw_loop_new().
int pw_set_domain | ( | const char * | domain | ) |
int pw_unload_spa_handle | ( | struct spa_handle * | handle | ) |
Referenced by pw_context_destroy(), pw_impl_port_set_mix(), pw_loop_destroy(), and pw_loop_new().