Lines Matching refs:mFrameCount

270         mAudioFlinger(audioFlinger), mSampleRate(0), mFrameCount(0), mNormalFrameCount(0),
421 snprintf(buffer, SIZE, "HAL frame count: %d\n", mFrameCount);
1125 (frameCount >= (mFrameCount * kFastTrackMultiplier)))
1146 frameCount = mFrameCount * kFastTrackMultiplier;
1148 ALOGV("AUDIO_OUTPUT_FLAG_FAST accepted: frameCount=%d mFrameCount=%d",
1149 frameCount, mFrameCount);
1152 "mFrameCount=%d format=%d isLinear=%d channelMask=%#x sampleRate=%u mSampleRate=%u "
1154 isTimed, sharedBuffer.get(), frameCount, mFrameCount, format,
1432 mFrameCount = mOutput->stream->common.get_buffer_size(&mOutput->stream->common) / mFrameSize;
1433 if (mFrameCount & 15) {
1435 mFrameCount);
1450 multiplier = (double) minNormalFrameCount / (double) mFrameCount;
1454 if (2 * mFrameCount <= maxNormalFrameCount) {
1457 multiplier = (double) maxNormalFrameCount / (double) mFrameCount;
1467 if ((truncMult + 1) * mFrameCount <= maxNormalFrameCount) {
1474 mNormalFrameCount = multiplier * mFrameCount;
1477 ALOGI("HAL output buffer size %u frames, normal mix buffer size %u frames", mFrameCount,
2072 "mFrameCount=%d, mNormalFrameCount=%d",
2073 mSampleRate, mChannelMask, mChannelCount, mFormat, mFrameSize, mFrameCount,
2100 initFastMixer = mFrameCount < mNormalFrameCount;
2153 state->mFrameCount = mFrameCount;
3272 size_t frameCount = mFrameCount;
3302 memset(mMixBuffer, 0, mFrameCount * mFrameSize);
3382 time = (uint32_t)(((mFrameCount * 1000) / mSampleRate) * 1000) / 2;
3393 time = (uint32_t)(((mFrameCount * 1000) / mSampleRate) * 1000);
3697 buffer.frameCount = mFrameCount;
3704 size_t framesIn = mFrameCount - mRsmpInIndex;
3726 if (framesOut && mFrameCount == mRsmpInIndex) {
3728 if (framesOut == mFrameCount &&
3748 mRsmpInIndex = mFrameCount;
3948 mRsmpInIndex = mFrameCount;
4002 mFramestoDrop = mFrameCount * 2;
4139 size_t framesReady = mFrameCount - mRsmpInIndex;
4157 framesReady = mFrameCount;
4316 desc.frameCount = mFrameCount;
4343 mFrameCount = mInputBytes / mFrameSize;
4344 mNormalFrameCount = mFrameCount; // not used by record, but used by input effects
4345 mRsmpInBuffer = new int16_t[mFrameCount * mChannelCount];
4360 mRsmpOutBuffer = new int32_t[mFrameCount * 2];
4365 mFrameCount >>= 1;
4369 mRsmpInIndex = mFrameCount;