Merge pull request #4714 from PickNicko13/master

Implemented "only-physical" parameter in the wireplumber module.
This commit is contained in:
Alexis Rouillard
2026-07-04 00:55:27 +02:00
committed by GitHub
2 changed files with 257 additions and 18 deletions
+7
View File
@@ -37,6 +37,11 @@ class Wireplumber : public ALabel {
static std::list<waybar::modules::Wireplumber*> modules;
uint32_t resolvePhysicalSink(uint32_t start_id);
uint32_t findPlaybackNodeId(const gchar* description);
uint32_t get_linked_sink_id(WpObjectManager* om, uint32_t from_node_id);
uint32_t get_linked_node_from_output_ports(WpObjectManager* om, uint32_t from_node_id);
WpCore* wp_core_;
GPtrArray* apis_;
WpObjectManager* om_;
@@ -55,6 +60,8 @@ class Wireplumber : public ALabel {
bool source_muted_;
double source_volume_;
gchar* default_source_name_;
bool only_physical_;
bool resolved_physical_;
std::string form_factor_;
};