Home
last modified time | relevance | path

Searched refs:mMaxFrames (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libnbaio/
DMonoPipe.cpp35 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()
DPipe.cpp31 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()
DMonoPipeReader.cpp42 ALOG_ASSERT(ret <= mPipe->mMaxFrames); in availableToRead()
/frameworks/av/media/libnbaio/include/
DPipe.h55 virtual ssize_t availableToWrite() { return mMaxFrames; } in availableToWrite()
61 const size_t mMaxFrames; // always a power of 2
DMonoPipe.h70 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/
Dloopback.cpp53 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