Home
last modified time | relevance | path

Searched refs:framesRead (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audioflinger/
DFastCapture.cpp171 ssize_t framesRead = mInputSource->read(mReadBuffer, frameCount); in onWork() local
174 if (framesRead >= 0) { in onWork()
175 LOG_ALWAYS_FATAL_IF((size_t) framesRead > frameCount); in onWork()
176 mTotalNativeFramesRead += framesRead; in onWork()
178 mReadBufferState = framesRead; in onWork()
DThreads.cpp6256 ssize_t framesRead; in threadLoop() local
6261 framesRead = mPipeSource->read((uint8_t*)mRsmpInBuffer + rear * mFrameSize, in threadLoop()
6263 if (framesRead == 0) { in threadLoop()
6274 framesRead = bytesRead; in threadLoop()
6276 framesRead = bytesRead / mFrameSize; in threadLoop()
6282 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] += framesRead; in threadLoop()
6303 if (framesRead < 0 || (framesRead == 0 && mPipeSource == 0)) { in threadLoop()
6304 ALOGE("read failed: framesRead=%zd", framesRead); in threadLoop()
6309 if (framesRead <= 0) { in threadLoop()
6312 ALOG_ASSERT(framesRead > 0); in threadLoop()
[all …]
/frameworks/av/media/libnbaio/
DAudioStreamInSource.cpp74 size_t framesRead = bytesRead / mFrameSize; in read() local
75 mFramesRead += framesRead; in read()
76 return framesRead; in read()
/frameworks/av/include/media/nbaio/
DNBAIO.h235 virtual int64_t framesRead() const { return mFramesRead; } in framesRead() function