Searched refs:numberOfFrames1 (Results 1 - 1 of 1) sorted by relevance

/external/webkit/Source/WebCore/platform/audio/
H A DReverbAccumulationBuffer.cpp58 size_t numberOfFrames1 = std::min(numberOfFrames, framesAvailable); local
59 size_t numberOfFrames2 = numberOfFrames - numberOfFrames1;
62 memcpy(destination, source + m_readIndex, sizeof(float) * numberOfFrames1);
63 memset(source + m_readIndex, 0, sizeof(float) * numberOfFrames1);
67 memcpy(destination + numberOfFrames1, source, sizeof(float) * numberOfFrames2);
91 size_t numberOfFrames1 = std::min(numberOfFrames, framesAvailable); local
92 size_t numberOfFrames2 = numberOfFrames - numberOfFrames1;
96 bool isSafe = writeIndex <= bufferLength && numberOfFrames1 + writeIndex <= bufferLength && numberOfFrames2 <= bufferLength;
101 vadd(source, 1, destination + writeIndex, 1, destination + writeIndex, 1, numberOfFrames1);
105 vadd(source + numberOfFrames1,
[all...]

Completed in 519 milliseconds