Home
last modified time | relevance | path

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

/cts/tests/tests/media/libaudiojni/
Daudio-record-native.cpp289 mReadBlob = NULL; in flush()
322 if (!blocking || size == 0 || mReadBlob.get() != NULL) { in read()
326 mReadBlob = blob; in read()
376 if (mReadBlob.get() != NULL) { in bufferQueueCallback()
377 size_t tocopy = min(mReadBlob->mSize - mReadBlob->mOffset, b->mSize - b->mOffset); in bufferQueueCallback()
378 memcpy((char *)mReadBlob->mData + mReadBlob->mOffset, in bufferQueueCallback()
381 mReadBlob->mOffset += tocopy; in bufferQueueCallback()
382 if (mReadBlob->mOffset == mReadBlob->mSize) { in bufferQueueCallback()
383 mReadBlob = NULL; // we're done, clear our reference. in bufferQueueCallback()
424 std::shared_ptr<Blob> mReadBlob; member in AudioRecordNative