Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp335 size_t availSource = pBuff->size; in audioRecorder_callback() local
336 size_t bytesToCopy = availSink < availSource ? availSink : availSource; in audioRecorder_callback()
342 ar->mBufferQueue.mSizeConsumed += availSource; in audioRecorder_callback()
DAudioPlayer_to_android.cpp1275 size_t availSource = oldFront->mSize - ap->mBufferQueue.mSizeConsumed; in audioTrack_callBack_pullFromBuffQueue() local
1277 size_t bytesToCopy = availSource < availSink ? availSource : availSink; in audioTrack_callBack_pullFromBuffQueue()
1281 if (bytesToCopy < availSource) { in audioTrack_callBack_pullFromBuffQueue()