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

/external/webkit/Source/WebCore/platform/audio/
H A DSincResampler.h45 // Processes numberOfSourceFrames from source to produce numberOfSourceFrames / scaleFactor frames in destination.
46 void process(float* source, float* destination, unsigned numberOfSourceFrames);
53 void consumeSource(float* buffer, unsigned numberOfSourceFrames);
H A DSincResampler.cpp123 void SincResampler::consumeSource(float* buffer, unsigned numberOfSourceFrames) argument
130 unsigned framesToCopy = min(m_sourceFramesAvailable, numberOfSourceFrames);
134 if (framesToCopy < numberOfSourceFrames)
135 memset(buffer + framesToCopy, 0, sizeof(float) * (numberOfSourceFrames - framesToCopy));
138 m_source += numberOfSourceFrames;
141 void SincResampler::process(float* source, float* destination, unsigned numberOfSourceFrames) argument
156 m_sourceFramesAvailable = numberOfSourceFrames;
158 unsigned numberOfDestinationFrames = static_cast<unsigned>(numberOfSourceFrames / m_scaleFactor);
H A DAudioBus.cpp148 size_t numberOfSourceFrames = sourceBuffer->length(); local
152 bool isRangeSafe = startFrame < endFrame && endFrame <= numberOfSourceFrames;

Completed in 342 milliseconds