Library Initialization

Functions

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


Enumerations

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


The results of the search are