From da098c7b4812408d1316b14b3b3f46d2ec7dce04 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sun, 16 Jul 2023 20:44:15 +1000 Subject: Support receiving SE voice data, resample per-speaker again because of positional delay --- source/frontend/StarVoice.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/frontend/StarVoice.hpp') diff --git a/source/frontend/StarVoice.hpp b/source/frontend/StarVoice.hpp index 94ef8ac..3b95235 100644 --- a/source/frontend/StarVoice.hpp +++ b/source/frontend/StarVoice.hpp @@ -80,6 +80,8 @@ public: VoiceAudioStreamPtr audioStream; Mutex mutex; + int64_t lastReceiveTime = 0; + atomic muted = false; atomic playing = false; atomic decibelLevel = 0.0f; -- cgit v1.2.3