Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/frontend/StarVoice.cpp3
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;