3
0
Fork 0
mirror of https://github.com/JulianGro/overte.git synced 2025-04-30 04:02:56 +02:00

cap max to 40, clarify comment

This commit is contained in:
Stephen Birarda 2015-11-17 17:08:48 -08:00
parent cf2ad9a877
commit d20fd6d7e7

View file

@ -110,7 +110,7 @@ void AudioInjectorManager::run() {
}
}
static const int MAX_INJECTORS_PER_THREAD = 50; // calculated based on AudioInjector while loop time, with sufficient padding
static const int MAX_INJECTORS_PER_THREAD = 40; // calculated based on AudioInjector time to send frame, with sufficient padding
bool AudioInjectorManager::threadInjector(AudioInjector* injector) {
if (_shouldStop) {