Home
last modified time | relevance | path

Searched refs:delta0 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/libndkaudio/
DWaveTableOscillator.cpp68 float delta0 = srcPhase_ - srcIndex; in getData() local
69 float delta1 = 1.0f - delta0; in getData()
71 + (waveTable_[srcIndex + 1] * delta0)) / 2.0f; in getData()
86 float delta0 = srcPhase_ - srcIndex; in getData() local
87 float delta1 = 1.0f - delta0; in getData()
89 + (waveTable_[srcIndex + 1] * delta0)) / 2.0f; in getData()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/
DWaveTableSource.java124 float delta0 = mSrcPhase - (float)srcIndex; in pull() local
125 float delta1 = 1.0f - delta0; in pull()
126 float value = ((mWaveTbl[srcIndex] * delta0) + (mWaveTbl[srcIndex + 1] * delta1)); in pull()