Find a file
George Kiagiadakis 2f3f5f8e66 lib: refactor WpProxy
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.
2020-11-13 19:54:48 +02:00
docs docs: mention that the test SPA plugins are required for unit tests 2020-07-20 12:20:53 +03:00
lib lib: refactor WpProxy 2020-11-13 19:54:48 +02:00
modules modules: refactor dbus reservation 2020-10-22 14:33:59 -04:00
src modules: refactor dbus reservation 2020-10-22 14:33:59 -04:00
subprojects Allow system cpptoml 2020-07-22 20:25:58 +02:00
tests modules: refactor dbus reservation 2020-10-22 14:33:59 -04:00
tools wpctl: add set-profile option 2020-10-22 11:28:43 +00:00
.editorconfig docs: enable building html documentation with hotdoc 2020-01-22 17:06:01 +02:00
.gitignore config: add .node config files to create audiotestsrc / videotestsrc 2020-06-16 16:06:20 +03:00
.gitlab-ci.yml gitlab-ci: really build with pipewire master 2020-09-01 11:12:30 +03:00
LICENSE Relicense to MIT 2019-05-31 12:13:12 +03:00
Makefile Makefile: set the default debug level to INFO, if not specified, for make run 2020-07-29 19:25:07 +03:00
meson.build lib: refactor WpProxy 2020-11-13 19:54:48 +02:00
meson_options.txt docs: enable building html documentation with hotdoc 2020-01-22 17:06:01 +02:00
NEWS.md NEWS: release 0.3.0 2020-06-29 19:36:49 +03:00
README.md docs: improve documentation 2020-05-19 17:54:10 +03:00

WirePlumber

WirePlumber is a modular session / policy manager for PipeWire and a GObject-based high-level library that wraps PipeWire's API, providing convenience for writing the daemon's modules as well as external tools for managing PipeWire.

Getting Started

Please refer to the documentation, which is available online here