Issue-3092 Add node type to wireplumber logs

- The module only fetches nodes for "node-type". This causes the 'onMixerChanged' log to spam whenever two or more
  wireplumber modules were registered on different nodes. To reduce this the unknown node warning will now only print
  if the node is not the focus of any current module.
This commit is contained in:
Rowan Leeder
2024-09-25 04:03:31 +10:00
parent 71a53eb79d
commit 2dfef1c213
2 changed files with 52 additions and 31 deletions

View File

@ -32,6 +32,8 @@ class Wireplumber : public ALabel {
bool handleScroll(GdkEventScroll* e) override;
static std::list<waybar::modules::Wireplumber*> modules;
WpCore* wp_core_;
GPtrArray* apis_;
WpObjectManager* om_;