Wp.ImplNode¶
- Subclasses:
None
Methods¶
- Inherited:
Wp.Proxy (4), Wp.Object (12), GObject.Object (37), Wp.PipewireObject (9)
- Structs:
class |
|
class |
|
Virtual Methods¶
- Inherited:
Wp.Proxy (4), Wp.Object (4), GObject.Object (7), Wp.PipewireObject (7)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
The actual node implementation, struct pw_impl_node * |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Wp.ImplNode(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A
Wp.ImplNodeallows running a node implementation (struct pw_impl_node) locally, loading the implementation from factory or wrapping a manually constructed pw_impl_node. This object can then be exported to PipeWire by requestingWp.ProxyFeatures.PROXY_FEATURE_BOUND.- classmethod new_from_pw_factory(core, factory_name, properties)¶
- Parameters:
core (
Wp.Core) – the wireplumber corefactory_name (
str) – the name of the pipewire factoryproperties (
Wp.PropertiesorNone) – properties to be passed to node constructor
- Returns:
A new
Wp.ImplNodewrapping the node that was constructed by the factory, orNoneif the factory does not exist or was unable to construct the node- Return type:
Wp.ImplNodeorNone
Constructs a new node, locally on this process, using the specified factory_name.
To export this node to the PipeWire server, you need to call
Wp.Object.activate() requestingWp.ProxyFeatures.PROXY_FEATURE_BOUNDand wait for the operation to complete.
- classmethod new_wrap(core, node)¶
- Parameters:
- Returns:
A new
Wp.ImplNodewrapping node- Return type:
Constructs a node object from an existing pw_impl_node.