Skip to content
Snippets Groups Projects
  1. Dec 20, 2020
  2. Nov 16, 2020
  3. Nov 15, 2020
  4. Nov 13, 2020
    • George Kiagiadakis's avatar
      lib: refactor WpProxy · 2f3f5f8e
      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
  5. Jun 03, 2020
  6. May 25, 2020
  7. May 20, 2020
  8. May 14, 2020
    • George Kiagiadakis's avatar
      debug: use levels 1-5 in WIREPLUMBER_DEBUG · 5c8a462a
      George Kiagiadakis authored
      This makes WIREPLUMBER_DEBUG behave just like PIPEWIRE_DEBUG.
      Same levels, same syntax, easier for users.
      
      ERROR & CRITICAL are always printed, as they should; there is no point
      in disabling them, since:
      - ERRORs are always fatal and should never ever happen
      - CRITICALs are assertion failures and indicate bugs that need to be fixed
      5c8a462a
    • George Kiagiadakis's avatar
      debug: shorten a bit the length of the messages · a45d47f5
      George Kiagiadakis authored
      * use a short level name, like pipewire does
      * color the timestamp to compensate for the loss of the visible level name
      * use 18 chars for the category
      a45d47f5
  9. May 12, 2020
  10. May 11, 2020
  11. Apr 27, 2020
  12. Apr 15, 2020
  13. Apr 14, 2020
Loading