HomeSort by relevance Sort by last modified time
    Searched refs:virtualReadIndex (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/audio/
AudioResamplerKernel.cpp 91 double virtualReadIndex = m_virtualReadIndex;
95 ASSERT(virtualReadIndex >= 0 && 1 + static_cast<unsigned>(virtualReadIndex + (framesToProcess - 1) * rate) < m_sourceBuffer.size());
100 unsigned readIndex = static_cast<unsigned>(virtualReadIndex);
101 double interpolationFactor = virtualReadIndex - readIndex;
110 virtualReadIndex += rate;
114 int readIndex = static_cast<int>(virtualReadIndex);
120 virtualReadIndex -= readIndex;
123 m_virtualReadIndex = virtualReadIndex;
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
AudioBufferSourceNode.cpp 243 double virtualReadIndex = m_virtualReadIndex;
253 if (pitchRate == 1 && virtualReadIndex == floor(virtualReadIndex)
256 unsigned readIndex = static_cast<unsigned>(virtualReadIndex);
278 virtualReadIndex = readIndex;
281 unsigned readIndex = static_cast<unsigned>(virtualReadIndex);
282 double interpolationFactor = virtualReadIndex - readIndex;
289 readIndex2 = static_cast<unsigned>(virtualReadIndex + 1 - virtualDeltaFrames);
312 virtualReadIndex += pitchRate;
314 // Wrap-around, retaining sub-sample position since virtualReadIndex is floating-point
    [all...]
OscillatorNode.cpp 263 // We keep virtualReadIndex double-precision since we're accumulating values.
264 double virtualReadIndex = m_virtualReadIndex;
293 unsigned readIndex = static_cast<unsigned>(virtualReadIndex);
313 float interpolationFactor = static_cast<float>(virtualReadIndex) - readIndex;
322 // Increment virtual read index and wrap virtualReadIndex into the range 0 -> periodicWaveSize.
323 virtualReadIndex += incr;
324 virtualReadIndex -= floor(virtualReadIndex * invPeriodicWaveSize) * periodicWaveSize;
327 m_virtualReadIndex = virtualReadIndex;

Completed in 654 milliseconds