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

  /external/webkit/Source/WebCore/platform/audio/
SincResampler.h 45 // 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);
SincResampler.cpp 123 void SincResampler::consumeSource(float* buffer, unsigned numberOfSourceFrames)
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)
156 m_sourceFramesAvailable = numberOfSourceFrames;
158 unsigned numberOfDestinationFrames = static_cast<unsigned>(numberOfSourceFrames / m_scaleFactor);
AudioBus.cpp 148 size_t numberOfSourceFrames = sourceBuffer->length();
152 bool isRangeSafe = startFrame < endFrame && endFrame <= numberOfSourceFrames;

Completed in 175 milliseconds