mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 17:03:11 +02:00
Merge branch 'master' of https://github.com/worklist/hifi
This commit is contained in:
commit
565b6f877c
1 changed files with 2 additions and 4 deletions
|
@ -185,15 +185,13 @@ void *sendBuffer(void *args)
|
|||
// pull the earlier sample for the delayed channel
|
||||
|
||||
int earlierSample = delaySamplePointer[s] *
|
||||
distanceCoeffs[lowAgentIndex][highAgentIndex] *
|
||||
otherAgentBuffer->getAttenuationRatio();
|
||||
distanceCoeffs[lowAgentIndex][highAgentIndex];
|
||||
|
||||
plateauAdditionOfSamples(delayedChannel[s], earlierSample * weakChannelAmplitudeRatio);
|
||||
}
|
||||
|
||||
int16_t currentSample = (otherAgentBuffer->getNextOutput()[s] *
|
||||
distanceCoeffs[lowAgentIndex][highAgentIndex]) *
|
||||
otherAgentBuffer->getAttenuationRatio();
|
||||
distanceCoeffs[lowAgentIndex][highAgentIndex]);
|
||||
plateauAdditionOfSamples(goodChannel[s], currentSample);
|
||||
|
||||
if (s + numSamplesDelay < BUFFER_LENGTH_SAMPLES_PER_CHANNEL) {
|
||||
|
|
Loading…
Reference in a new issue