Searched refs:framesToCopy (Results 1 – 2 of 2) sorted by relevance
130 unsigned framesToCopy = min(m_sourceFramesAvailable, numberOfSourceFrames); in consumeSource() local131 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()
509 size_t framesToCopy = buffer->size / (BYTES_PER_SAMPLE * CHANNEL_COUNT); in AndroidQuakeSoundCallback() local512 for(size_t frame = 0; frame < framesToCopy; frame++) { in AndroidQuakeSoundCallback()