mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-08 14:49:32 +02:00
cap max to 40, clarify comment
This commit is contained in:
parent
cf2ad9a877
commit
d20fd6d7e7
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
bool AudioInjectorManager::threadInjector(AudioInjector* injector) {
|
||||||
if (_shouldStop) {
|
if (_shouldStop) {
|
||||||
|
|
Loading…
Reference in a new issue