From 7ad1671e0daf1c15d593343e5e2cd03593db744e Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Wed, 19 Jul 2023 23:28:13 +1000 Subject: Fix residual voice data not clearing --- source/frontend/StarVoice.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/frontend/StarVoice.cpp') diff --git a/source/frontend/StarVoice.cpp b/source/frontend/StarVoice.cpp index 4a0e344..44e62cb 100644 --- a/source/frontend/StarVoice.cpp +++ b/source/frontend/StarVoice.cpp @@ -329,9 +329,6 @@ void Voice::readAudioData(uint8_t* stream, int len) { m_clientSpeaker->playing = active; } - if (!active) - return; - MutexLocker captureLock(m_captureMutex); if (active) { m_capturedChunksFrames += sampleCount / m_deviceChannels; -- cgit v1.2.3