Constructor

PwgNodenew

since: 0.1

Declaration [src]

PwgNode*
pwg_node_new (
  PwgCore* core,
  PwgGlobal* global
)

Description [src]

Creates a live node proxy wrapper for parameter inspection and limited copied parameter updates.

Stability: Unstable

Available since: 0.1

Parameters

core

Type: PwgCore

A PipeWire core wrapper.

The data is owned by the caller of the function.
global

Type: PwgGlobal

A PipeWire node global descriptor.

The data is owned by the caller of the function.

Return value

Type: PwgNode

A new node wrapper, or NULL if global is not a PipeWire node.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.