Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp329 size_t availSource = buffer.size(); in audioRecorder_handleMoreData_lockRecord() local
330 size_t bytesToCopy = availSink < availSource ? availSink : availSource; in audioRecorder_handleMoreData_lockRecord()
336 ar->mBufferQueue.mSizeConsumed += availSource; in audioRecorder_handleMoreData_lockRecord()
DAudioPlayer_to_android.cpp1269 size_t availSource = oldFront->mSize - ap->mBufferQueue.mSizeConsumed; in audioTrack_handleMoreData_lockPlay() local
1271 size_t bytesToCopy = availSource < availSink ? availSource : availSink; in audioTrack_handleMoreData_lockPlay()
1275 if (bytesToCopy < availSource) { in audioTrack_handleMoreData_lockPlay()