Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DFastCapture.cpp36 readBuffer(NULL), readBufferState(-1), format(Format_Invalid), sampleRate(0), in FastCapture()
149 readBufferState = -1; in onStateChange()
175 readBufferState = framesRead; in onWork()
178 readBufferState = 0; in onWork()
187 if (readBufferState < 0) { in onWork()
191 readBufferState = frameCount; in onWork()
193 if (readBufferState > 0) { in onWork()
194 ssize_t framesWritten = pipeSink->write(readBuffer, readBufferState); in onWork()
DFastCapture.h68 ssize_t readBufferState; // number of initialized frames in readBuffer, or -1 to clear variable