Added better logic for different kinds of filter nodes for only-physical.

Added fallback in case the final node doesn't have the volume property.
This commit is contained in:
PickNicko13
2026-01-01 16:54:54 +01:00
parent 5c9a1b08d9
commit a2d597f17f
2 changed files with 114 additions and 37 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ class Wireplumber : public ALabel {
uint32_t resolvePhysicalSink(uint32_t start_id);
uint32_t findPlaybackNodeId(const gchar* description);
static uint32_t get_linked_sink_id(WpObjectManager* om, uint32_t from_node_id, const gchar* media_class);
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_;