mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 17:30:37 +02:00
omit all injector samples on server echo
This commit is contained in:
parent
492795f7e5
commit
7261b5285e
1 changed files with 1 additions and 0 deletions
|
@ -1638,6 +1638,7 @@ qint64 AudioClient::AudioOutputIODevice::readData(char * data, qint64 maxSize) {
|
||||||
|
|
||||||
if (_audio->_shouldEchoToServer) {
|
if (_audio->_shouldEchoToServer) {
|
||||||
// omit local audio, it should be echoed
|
// omit local audio, it should be echoed
|
||||||
|
injectorSamplesPopped = 0;
|
||||||
} else if (networkSamplesPopped == 0) {
|
} else if (networkSamplesPopped == 0) {
|
||||||
convertToMix(mixBuffer, scratchBuffer, injectorSamplesPopped);
|
convertToMix(mixBuffer, scratchBuffer, injectorSamplesPopped);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue