diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-19 23:28:13 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-19 23:28:13 +1000 |
commit | 7ad1671e0daf1c15d593343e5e2cd03593db744e (patch) | |
tree | 7e8239da8da2faba0db992f723623ca9f71869e6 /source/frontend/StarVoice.cpp | |
parent | f2bc9adc365c5488e0fdd0996d5bdc3027f34806 (diff) |
Fix residual voice data not clearing
Diffstat (limited to 'source/frontend/StarVoice.cpp')
-rw-r--r-- | source/frontend/StarVoice.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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; |