From 12c8a7e49ac265f4510efcf4e64a9bde7d753386 Mon Sep 17 00:00:00 2001 From: Wizzard Date: Wed, 12 Jul 2023 01:26:19 +0000 Subject: [PATCH] revert 1fc84366183a908cce5bedfad7725dd779f2d9d8 revert Ignore mics --- src/virtmic.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/virtmic.cpp b/src/virtmic.cpp index cd340b7..3a691d2 100644 --- a/src/virtmic.cpp +++ b/src/virtmic.cpp @@ -86,10 +86,6 @@ void start(QString _target) { auto &parent = nodes.at(parent_id); std::string name = getTarget(parent.props); - if (parent.props["media.class"] == "Audio/Source" || - parent.props["media.class"] == "Audio/Source/Voice") - continue; - if (name == target || (target == "[All Desktop Audio]" && !EXCLUDE_TARGETS.contains(QString::fromStdString(name)))) { @@ -169,11 +165,6 @@ void start(QString _target) { } }); - reg_events.on( - [&](const pipewire::registry_event::node_state &event) { - link(target, core); - }); - reg_events.on( [&](const std::uint32_t id) { if (nodes.count(id)) {