Lines Matching defs:numFrames
116 int32_t numFrames,
121 // divide by numFrames so that we almost reach amplitude2
122 float delta = (amplitude2 - amplitude1) / numFrames;
123 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) {
147 int32_t numFrames,
152 float delta = (amplitude2 - amplitude1) / (SHORT_SCALE * (float) numFrames);
153 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) {
164 int32_t numFrames,
169 float delta = (amplitude2 - amplitude1) / numFrames;
170 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) {
187 int32_t numFrames,
192 float delta = (amplitude2 - amplitude1) / (SHORT_SCALE * (float) numFrames);
193 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) {
310 int32_t AAudioConvert_framesToBytes(int32_t numFrames,
317 if (bytesPerFrame > maxBytesPerFrame || numFrames > (0x3FFFFFFF / maxBytesPerFrame)) {
318 ALOGE("size overflow, numFrames = %d, frameSize = %zd", numFrames, bytesPerFrame);
321 *sizeInBytes = numFrames * bytesPerFrame;