• Home
  • Raw
  • Download

Lines Matching refs:mFrameCount

112         mFrameCount(frameCount),  in TrackBase()
289 buf.mFrameCount = buffer->frameCount; in releaseBuffer()
867 const char modifiedBufferChar = bufferSizeInFrames < mFrameCount in appendDump()
868 ? 'r' /* buffer reduced */: bufferSizeInFrames > mFrameCount in appendDump()
930 buf.mFrameCount = desiredFrames; in getNextBuffer()
932 buffer->frameCount = buf.mFrameCount; in getNextBuffer()
934 if (buf.mFrameCount == 0 && !isStopping() && !isStopped() && !isPaused() && !isOffloaded()) { in getNextBuffer()
936 __func__, mId, buf.mFrameCount, desiredFrames, mState); in getNextBuffer()
1029 std::min(startThresholdInFrames, bufferSizeInFrames), size_t(1), mFrameCount); in isReady()
1138 buffer.mFrameCount = 1; in start()
1906 mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSize,
1997 buf.mFrameCount = outFrames; in write()
2073 buf.mFrameCount = buffer->frameCount; in obtainBuffer()
2078 buffer->frameCount = buf.mFrameCount; in obtainBuffer()
2164 buf.mFrameCount = buffer->frameCount; in getNextBuffer()
2168 ATRACE_INT(traceName.c_str(), buf.mFrameCount); in getNextBuffer()
2172 buffer->frameCount = buf.mFrameCount; in getNextBuffer()
2176 ATRACE_INT(traceName.c_str(), buf.mFrameCount); in getNextBuffer()
2178 if (buf.mFrameCount == 0) { in getNextBuffer()
2189 buf.mFrameCount = buffer->frameCount; in releaseBuffer()
2201 const size_t originalFrameCount = buffer->mFrameCount; in obtainBuffer()
2205 buffer->mFrameCount = originalFrameCount; // cleared on error, must be restored. in obtainBuffer()
2414 buf.mFrameCount = buffer->frameCount; in getNextBuffer()
2416 buffer->frameCount = buf.mFrameCount; in getNextBuffer()
2418 if (buf.mFrameCount == 0) { in getNextBuffer()
2529 mFrameCount, in appendDump()
2555 framesToDrop = threadBase->mFrameCount * 2; in handleSyncStartEvent()
2744 buf.mFrameCount = buffer->frameCount; in getNextBuffer()
2748 buffer->frameCount = buf.mFrameCount; in getNextBuffer()
2752 ATRACE_INT(traceName.c_str(), buf.mFrameCount); in getNextBuffer()
2754 if (buf.mFrameCount == 0) { in getNextBuffer()
2765 buf.mFrameCount = buffer->frameCount; in releaseBuffer()
2802 mSinkBuffer(allocAligned(32, mFrameCount * mFrameSize)), in PassthruPatchRecord()
2803 mStubBuffer(allocAligned(32, mFrameCount * mFrameSize)) in PassthruPatchRecord()
2805 memset(mStubBuffer.get(), 0, mFrameCount * mFrameSize); in PassthruPatchRecord()
2823 buffer->mFrameCount = std::min(buffer->mFrameCount, mUnconsumedFrames); in obtainBuffer()
2834 const size_t framesToRead = std::min(buffer->mFrameCount, mFrameCount); in obtainBuffer()
2835 buffer->mFrameCount = 0; in obtainBuffer()
2858 buffer->mFrameCount = writeFrames( in obtainBuffer()
2861 ALOGW_IF(buffer->mFrameCount < bytesRead / mFrameSize, in obtainBuffer()
2862 "Lost %zu frames obtained from HAL", bytesRead / mFrameSize - buffer->mFrameCount); in obtainBuffer()
2863 mUnconsumedFrames = buffer->mFrameCount; in obtainBuffer()
2887 if (buffer->mFrameCount <= mUnconsumedFrames) { in releaseBuffer()
2888 mUnconsumedFrames -= buffer->mFrameCount; in releaseBuffer()
2891 buffer->mFrameCount, mUnconsumedFrames); in releaseBuffer()
2905 bytes = std::min(bytes, mFrameCount * mFrameSize); in read()