mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 01:56:39 +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);
|
||||
}
|
||||
|
||||
int16_t currentSample = otherAgentBuffer->getNextOutput()[s];
|
||||
|
||||
currentSample *= attenuationCoefficient;
|
||||
int16_t currentSample = otherAgentBuffer->getNextOutput()[s] * attenuationCoefficient;
|
||||
|
||||
plateauAdditionOfSamples(goodChannel[s], currentSample);
|
||||
|
||||
|
|
Loading…
Reference in a new issue