1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fix filter audio

Fixes #2504

Fixes #2517

Fixes #1565
This commit is contained in:
tux3 2015-12-04 18:20:47 +01:00
parent 49d11549b9
commit 7f5f807bde
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -264,9 +264,9 @@ bool CoreAV::sendCallAudio(uint32_t callId)
call.filterer->startFilter(AUDIO_SAMPLE_RATE);
}
// is a null op #ifndef ALC_LOOPBACK_CAPTURE_SAMPLES
Audio::getEchoesToFilter(call.filterer, AUDIO_FRAME_SAMPLE_COUNT);
Audio::getEchoesToFilter(call.filterer, AUDIO_FRAME_SAMPLE_COUNT * AUDIO_CHANNELS);
call.filterer->filterAudio(buf, AUDIO_FRAME_SAMPLE_COUNT);
call.filterer->filterAudio(buf, AUDIO_FRAME_SAMPLE_COUNT * AUDIO_CHANNELS);
}
else if (call.filterer)
{