Home
last modified time | relevance | path

Searched refs:mReadBufferState (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audioflinger/
DFastCapture.cpp37 mReadBuffer(NULL), mReadBufferState(-1), mFormat(Format_Invalid), mSampleRate(0), in FastCapture()
154 mReadBufferState = -1; in onStateChange()
193 mReadBufferState = framesRead; in onWork()
197 mReadBufferState = 0; in onWork()
206 if (mReadBufferState < 0) { in onWork()
208 mReadBufferState = frameCount; in onWork()
210 if (mReadBufferState > 0) { in onWork()
211 ssize_t framesWritten = mPipeSink->write(mReadBuffer, mReadBufferState); in onWork()
DFastCapture.h58 ssize_t mReadBufferState; // number of initialized frames in readBuffer, variable