Searched refs:mMaxFrames (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libnbaio/ |
D | MonoPipe.cpp | 35 mMaxFrames(roundup(reqFrames)), in MonoPipe() 36 mBuffer(malloc(mMaxFrames * Format_frameSize(format))), in MonoPipe() 37 mFifo(mMaxFrames, Format_frameSize(format), mBuffer, true /*throttlesWriter*/), in MonoPipe() 62 ALOG_ASSERT(ret <= mMaxFrames); in availableToWrite() 94 ALOG_ASSERT(avail <= mMaxFrames); in write() 99 size_t filled = mMaxFrames - (size_t) avail; in write()
|
D | Pipe.cpp | 31 mMaxFrames(roundup(maxFrames)), in Pipe() 32 mBuffer(buffer == NULL ? malloc(mMaxFrames * Format_frameSize(format)) : buffer), in Pipe() 33 mFifo(mMaxFrames, Format_frameSize(format), mBuffer, false /*throttlesWriter*/), in Pipe()
|
D | MonoPipeReader.cpp | 42 ALOG_ASSERT(ret <= mPipe->mMaxFrames); in availableToRead()
|
/frameworks/av/media/libnbaio/include/ |
D | Pipe.h | 55 virtual ssize_t availableToWrite() { return mMaxFrames; } in availableToWrite() 61 const size_t mMaxFrames; // always a power of 2
|
D | MonoPipe.h | 70 size_t maxFrames() const { return mMaxFrames; } in maxFrames() 87 const size_t mMaxFrames; // as requested in constructor, rounded up to a power of 2
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 53 mMaxFrames = maxFrames; in allocate() 58 if ((mFrameCounter + numFrames) > mMaxFrames) { in record() 59 numFrames = mMaxFrames - mFrameCounter; in record() 68 if ((mFrameCounter + numFrames) > mMaxFrames) { in record() 69 numFrames = mMaxFrames - mFrameCounter; in record() 89 int32_t mMaxFrames = 0; member in AudioRecorder
|