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


Wp.init

def Wp.init (flags):
    #python wrapper for 'wp_init'

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 ( Wp.InitFlags ) –

initialization flags


Wp.prototype.init

function Wp.prototype.init(flags: Wp.InitFlags): {
    // javascript wrapper for 'wp_init'
}

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 ( Wp.InitFlags ) –

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


Wp.InitFlags

See Wp.init

Members

Wp.InitFlags.PIPEWIRE (1) –

Initializes libpipewire by calling pw_init()

Wp.InitFlags.SPA_TYPES (2) –

Initializes WirePlumber's SPA types integration, required for using Wp.SpaPod among other things

Wp.InitFlags.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.InitFlags.SET_GLIB_LOG (8) –

Installs WirePlumber's debug log handler, Wp.log_writer_default, on GLib with GLib.log_set_writer_func

Wp.InitFlags.ALL (15) –

Enables all of the above


Wp.InitFlags

See Wp.prototype.init

Members

Wp.InitFlags.PIPEWIRE (1) –

Initializes libpipewire by calling pw_init()

Wp.InitFlags.SPA_TYPES (2) –

Initializes WirePlumber's SPA types integration, required for using Wp.SpaPod among other things

Wp.InitFlags.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.prototype.spa_log_get_instance) with pw_log_set()

Wp.InitFlags.SET_GLIB_LOG (8) –

Installs WirePlumber's debug log handler, Wp.prototype.log_writer_default, on GLib with GLib.prototype.log_set_writer_func

Wp.InitFlags.ALL (15) –

Enables all of the above


The results of the search are