Home | History | Annotate | Download | only in audioflinger

Lines Matching refs:frameCount

1185         size_t frameCount,
1212 ((frameCount == 0) ||
1213 (frameCount >= mFrameCount))
1232 // if frameCount not specified, then it defaults to fast mixer (HAL) frame count
1233 if (frameCount == 0) {
1234 frameCount = mFrameCount * kFastTrackMultiplier;
1236 ALOGV("AUDIO_OUTPUT_FLAG_FAST accepted: frameCount=%d mFrameCount=%d",
1237 frameCount, mFrameCount);
1239 ALOGV("AUDIO_OUTPUT_FLAG_FAST denied: isTimed=%d sharedBuffer=%p frameCount=%d "
1242 isTimed, sharedBuffer.get(), frameCount, mFrameCount, format,
1256 if (frameCount < minFrameCount) {
1257 frameCount = minFrameCount;
1324 channelMask, frameCount, sharedBuffer, sessionId, uid, *flags);
1327 channelMask, frameCount, sharedBuffer, sessionId, uid);
1557 desc.frameCount = mNormalFrameCount; // FIXME see
1558 // AudioFlinger::frameCount(audio_io_handle_t)
3689 size_t frameCount = mFrameCount;
3692 while (frameCount) {
3694 buffer.frameCount = frameCount;
3697 memset(curBuf, 0, frameCount * mFrameSize);
3700 memcpy(curBuf, buffer.raw, buffer.frameCount * mFrameSize);
3701 frameCount -= buffer.frameCount;
3702 curBuf += buffer.frameCount * mFrameSize;
4285 size_t frameCount = (3 * mNormalFrameCount * mSampleRate) / thread->sampleRate();
4291 frameCount,
4322 uint32_t waitTimeMs = (strong->frameCount() * 2 * 1000) / strong->sampleRate();
4503 buffer.frameCount = mFrameCount;
4507 size_t framesOut = buffer.frameCount;
4514 int8_t *dst = buffer.i8 + (buffer.frameCount - framesOut) *
4554 buffer.frameCount = 0;
4594 mFramestoDrop -= buffer.frameCount;
4599 mFramestoDrop += buffer.frameCount;
4668 size_t frameCount,
4689 ((frameCount == 0) ||
4690 (frameCount >= mFrameCount))
4703 // if frameCount not specified, then it defaults to fast recorder (HAL) frame count
4704 if (frameCount == 0) {
4705 frameCount = mFrameCount * kFastTrackMultiplier;
4707 ALOGV("AUDIO_INPUT_FLAG_FAST accepted: frameCount=%d mFrameCount=%d",
4708 frameCount, mFrameCount);
4710 ALOGV("AUDIO_INPUT_FLAG_FAST denied: frameCount=%d "
4713 frameCount, mFrameCount, format,
4728 if (frameCount < minFrameCount) {
4729 frameCount = minFrameCount;
4740 format, channelMask, frameCount, sessionId, uid);
5012 size_t framesReq = buffer->frameCount;
5027 buffer->frameCount = 0;
5044 buffer->frameCount = framesReq;
5051 mRsmpInIndex += buffer->frameCount;
5052 buffer->frameCount = 0;
5191 desc.frameCount = mFrameCount;