mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 10:09:05 +02:00
address PR comments for whitespace and constant
This commit is contained in:
parent
f0ca412b29
commit
367e558b19
1 changed files with 1 additions and 2 deletions
|
@ -163,7 +163,7 @@ void AudioMixerClientData::checkBuffersBeforeFrameSend() {
|
||||||
|
|
||||||
static const int INJECTOR_MAX_INACTIVE_BLOCKS = 500;
|
static const int INJECTOR_MAX_INACTIVE_BLOCKS = 500;
|
||||||
|
|
||||||
// if we don't have new data for an injected stream in the last INJECTOR_INACTIVITY_MSECS then
|
// if we don't have new data for an injected stream in the last INJECTOR_MAX_INACTIVE_BLOCKS then
|
||||||
// we remove the injector from our streams
|
// we remove the injector from our streams
|
||||||
if (stream->getType() == PositionalAudioStream::Injector
|
if (stream->getType() == PositionalAudioStream::Injector
|
||||||
&& stream->getConsecutiveNotMixedCount() > INJECTOR_MAX_INACTIVE_BLOCKS) {
|
&& stream->getConsecutiveNotMixedCount() > INJECTOR_MAX_INACTIVE_BLOCKS) {
|
||||||
|
@ -174,7 +174,6 @@ void AudioMixerClientData::checkBuffersBeforeFrameSend() {
|
||||||
|
|
||||||
// erase the stream to drop our ref to the shared pointer and remove it
|
// erase the stream to drop our ref to the shared pointer and remove it
|
||||||
it = _audioStreams.erase(it);
|
it = _audioStreams.erase(it);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
++it;
|
++it;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue