From 35b1c36b171d67dae4c47bad9b4aa31da6ba0070 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Wed, 19 Jul 2023 18:59:35 +1000 Subject: Add loopback, fix mono and leak --- source/frontend/StarVoice.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/frontend/StarVoice.hpp') diff --git a/source/frontend/StarVoice.hpp b/source/frontend/StarVoice.hpp index 236dfb0..15d9cd6 100644 --- a/source/frontend/StarVoice.hpp +++ b/source/frontend/StarVoice.hpp @@ -180,6 +180,7 @@ private: int64_t m_nextSaveTime = 0; bool m_enabled = true; bool m_inputEnabled = false; + bool m_loopBack = false; int m_deviceChannels = 1; bool m_deviceOpen = false; @@ -192,6 +193,9 @@ private: ConditionVariable m_threadCond; atomic m_stopThread; + std::vector m_decodeBuffer; + std::vector m_resampleBuffer; + ApplicationControllerPtr m_applicationController; struct EncodedChunk { -- cgit v1.2.3