Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/audio/
DSincResampler.cpp130 unsigned framesToCopy = min(m_sourceFramesAvailable, numberOfSourceFrames); in consumeSource() local
131 memcpy(buffer, m_source, sizeof(float) * framesToCopy); in consumeSource()
134 if (framesToCopy < numberOfSourceFrames) in consumeSource()
135 memset(buffer + framesToCopy, 0, sizeof(float) * (numberOfSourceFrames - framesToCopy)); in consumeSource()
137 m_sourceFramesAvailable -= framesToCopy; in consumeSource()
/external/quake/quake/src/WinQuake/
Dsnd_android.cpp509 size_t framesToCopy = buffer->size / (BYTES_PER_SAMPLE * CHANNEL_COUNT); in AndroidQuakeSoundCallback() local
512 for(size_t frame = 0; frame < framesToCopy; frame++) { in AndroidQuakeSoundCallback()