Searched refs:mConsumed (Results 1 – 4 of 4) sorted by relevance
28 NBAIO_Source(format), mProvider(provider), mConsumed(0) in AudioBufferProviderSource()46 return mBuffer.raw != NULL ? mBuffer.frameCount - mConsumed : 0; in availableToRead()65 size_t available = mBuffer.frameCount - mConsumed; in read()71 memcpy(buffer, (char *) mBuffer.raw + (mConsumed << mBitShift), count << mBitShift); in read()72 if (CC_UNLIKELY((mConsumed += count) >= mBuffer.frameCount)) { in read()75 mConsumed = 0; in read()118 size_t available = mBuffer.frameCount - mConsumed; in readVia()123 char* readTgt = (char *) mBuffer.raw + (mConsumed << mBitShift); in readVia()134 if (CC_LIKELY((mConsumed += ret) < mBuffer.frameCount)) { in readVia()140 mConsumed = 0; in readVia()
38 : mSensorEventConnection(connection), mRecBuffer(NULL), mAvailable(0), mConsumed(0) { in SensorEventQueue()70 mConsumed = 0; in read()73 memcpy(events, mRecBuffer + mConsumed, count*sizeof(ASensorEvent)); in read()75 mConsumed += count; in read()
52 size_t mConsumed; // number of frames consumed so far from current buffer variable
87 size_t mConsumed; variable