Searched refs:framesRead (Results 1 – 4 of 4) sorted by relevance
171 ssize_t framesRead = mInputSource->read(mReadBuffer, frameCount); in onWork() local174 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()
6256 ssize_t framesRead; in threadLoop() local6261 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 …]
74 size_t framesRead = bytesRead / mFrameSize; in read() local75 mFramesRead += framesRead; in read()76 return framesRead; in read()
235 virtual int64_t framesRead() const { return mFramesRead; } in framesRead() function