Fix residual voice data not clearing
This commit is contained in:
parent
f2bc9adc36
commit
7ad1671e0d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user