Searched refs:srcIndex (Results 1 – 2 of 2) sorted by relevance
67 int srcIndex = (int) srcPhase_; in getData() local68 float delta0 = srcPhase_ - srcIndex; in getData()70 outBuff[dstIndex] = ((waveTable_[srcIndex] * delta1) in getData()71 + (waveTable_[srcIndex + 1] * delta0)) / 2.0f; in getData()85 int srcIndex = (int) srcPhase_; in getData() local86 float delta0 = srcPhase_ - srcIndex; in getData()88 float out = ((waveTable_[srcIndex] * delta1) in getData()89 + (waveTable_[srcIndex + 1] * delta0)) / 2.0f; in getData()
123 int srcIndex = (int)mSrcPhase; in pull() local124 float delta0 = mSrcPhase - (float)srcIndex; in pull()126 float value = ((mWaveTbl[srcIndex] * delta0) + (mWaveTbl[srcIndex + 1] * delta1)); in pull()