mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 23:09:52 +02:00
remove redundant calculation
This commit is contained in:
parent
19ab1816bb
commit
53fece29fa
1 changed files with 1 additions and 3 deletions
|
@ -237,9 +237,7 @@ int main(int argc, const char* argv[]) {
|
||||||
plateauAdditionOfSamples(delayedChannel[s], earlierSample);
|
plateauAdditionOfSamples(delayedChannel[s], earlierSample);
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t currentSample = otherAgentBuffer->getNextOutput()[s];
|
int16_t currentSample = otherAgentBuffer->getNextOutput()[s] * attenuationCoefficient;
|
||||||
|
|
||||||
currentSample *= attenuationCoefficient;
|
|
||||||
|
|
||||||
plateauAdditionOfSamples(goodChannel[s], currentSample);
|
plateauAdditionOfSamples(goodChannel[s], currentSample);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue