From d0fdbefbfb60994ad8d6cf3b7129dcdd556c1924 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 8 Sep 2025 21:10:30 +1000 Subject: plugin/ap: fix collector Actually read from speakers not mic --- plugin/src/Caelestia/service.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugin/src/Caelestia/service.hpp') diff --git a/plugin/src/Caelestia/service.hpp b/plugin/src/Caelestia/service.hpp index 861d715..40e9110 100644 --- a/plugin/src/Caelestia/service.hpp +++ b/plugin/src/Caelestia/service.hpp @@ -1,5 +1,6 @@ #pragma once +#include #include namespace caelestia { @@ -12,7 +13,7 @@ class Service : public QObject { public: explicit Service(QObject* parent = nullptr); - [[nodiscard]] int refCount() const; + [[nodiscard]] int refCount(); void ref(); void unref(); @@ -22,6 +23,7 @@ signals: private: int m_refCount; + QMutex m_mutex; virtual void start() = 0; virtual void stop() = 0; -- cgit v1.2.3-freya