Skip to content
Snippets Groups Projects
Select Git revision
  • 2f3f5f8e66c577d0568b43340162a2dfbfeaf4c9
  • apertis/v2027dev0 default protected
  • pristine-lfs-source
  • apertis/v2026dev2 protected
  • apertis/v2026dev3 protected
  • apertis/v2026pre protected
  • debian/trixie protected
  • pristine-lfs protected
  • upstream/trixie protected
  • proposed-updates/debian/sid/ba7bb66e
  • apertis/v2025 protected
  • apertis/v2025dev1 protected
  • apertis/v2025dev2 protected
  • apertis/v2025dev3 protected
  • apertis/v2025pre protected
  • apertis/v2026dev0 protected
  • apertis/v2026dev1 protected
  • upstream/bookworm protected
  • debian/bookworm-backports protected
  • apertis/v2024 protected
  • apertis/v2024pre protected
  • apertis/0.5.8-2+apertis1
  • debian/0.5.8-2
  • apertis/0.5.8-1+apertis1
  • debian/0.5.8-1
  • upstream/0.5.8
  • debian/0.5.3-1
  • upstream/0.5.3
  • apertis/0.4.17-1_bpo12+1+apertis2
  • apertis/0.4.17-1_bpo12+1+apertis1
  • debian/0.4.17-1_bpo12+1
  • upstream/0.4.17
  • debian/0.4.15-1_bpo12+1
  • upstream/0.4.15
  • apertis/0.4.14-4_bpo12+1+apertis2
  • apertis/0.4.14-4_bpo12+1+apertis1
  • debian/0.4.14-4_bpo12+1
  • upstream/0.4.14
  • apertis/0.4.13-1+apertis1
  • debian/0.4.13-1
  • upstream/0.4.13
41 results

wireplumber

user avatar
George Kiagiadakis authored
This is an attempt to unclutter the API of WpProxy and
split functionality into smaller pieces, making it easier
to work with.

In this new class layout, we have the following classes:

- WpObject: base class for everything; handles activating
|           and deactivating "features"
|- WpProxy: base class for anything that wraps a pw_proxy;
 |          handles events from pw_proxy and nothing more
 |- WpGlobalProxy: handles integration with the registry

All the other classes derive from WpGlobalProxy. The reason
for separating WpGlobalProxy from WpProxy, though, is that
classes such as WpImplNode / WpSpaDevice can also derive from
WpProxy now, without interfacing with the registry.

All objects that come with an "info" structure and have properties
and/or params also implement the WpPipewireObject interface. This
provides the API to query properties and get/set params. Essentially,
this is implemented by all classes except WpMetadata (pw_metadata
does not have info)

This interface is implemented on each object separately, using
a private "mixin", which is a set of vfunc implementations and helper
functions (and macros) to facilitate the implementation of this interface.

A notable difference to the old WpProxy is that now features can be
deactivated, so it is possible to enable something and later disable
it again.

This commit disables modules, tests, tools, etc, to avoid growing the
patch more, while ensuring that the project compiles.
2f3f5f8e
History
Name Last commit Last update