Library Initialization

Functions

wp_init

wp_init (WpInitFlags flags)

Initializes WirePlumber and PipeWire underneath. flags can modify which parts are initialized, in cases where you want to handle part of this initialization externally.

Parameters:

flags

initialization flags


Enumerations

WpInitFlags

See wp_init

Members

WP_INIT_PIPEWIRE (1) –

Initializes libpipewire by calling pw_init()

WP_INIT_SPA_TYPES (2) –

Initializes WirePlumber's SPA types integration, required for using WpSpaPod among other things

WP_INIT_SET_PW_LOG (4) –

Enables redirecting debug log messages from libpipewire to GLib's logging system, by installing WirePlumber's implementation of struct spa_log (see wp_spa_log_get_instance) with pw_log_set()

WP_INIT_SET_GLIB_LOG (8) –

Installs WirePlumber's debug log handler, wp_log_writer_default, on GLib with g_log_set_writer_func

WP_INIT_ALL (15) –

Enables all of the above


The results of the search are