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.cpp311 mReadBlob = NULL; in flush()
345 if (!blocking || size == 0 || mReadBlob.get() != NULL) { in read()
349 mReadBlob = blob; in read()
404 if (mReadBlob.get() != NULL) { in bufferQueueCallback()
405 size_t tocopy = min(mReadBlob->mSize - mReadBlob->mOffset, b->mSize - b->mOffset); in bufferQueueCallback()
406 memcpy((char *)mReadBlob->mData + mReadBlob->mOffset, in bufferQueueCallback()
409 mReadBlob->mOffset += tocopy; in bufferQueueCallback()
410 if (mReadBlob->mOffset == mReadBlob->mSize) { in bufferQueueCallback()
411 mReadBlob = NULL; // we're done, clear our reference. in bufferQueueCallback()
453 std::shared_ptr<Blob> mReadBlob; member in AudioRecordNative