Searched refs:availSource (Results 1 – 2 of 2) sorted by relevance
329 size_t availSource = buffer.size(); in audioRecorder_handleMoreData_lockRecord() local330 size_t bytesToCopy = availSink < availSource ? availSink : availSource; in audioRecorder_handleMoreData_lockRecord()336 ar->mBufferQueue.mSizeConsumed += availSource; in audioRecorder_handleMoreData_lockRecord()
1269 size_t availSource = oldFront->mSize - ap->mBufferQueue.mSizeConsumed; in audioTrack_handleMoreData_lockPlay() local1271 size_t bytesToCopy = availSource < availSink ? availSource : availSink; in audioTrack_handleMoreData_lockPlay()1275 if (bytesToCopy < availSource) { in audioTrack_handleMoreData_lockPlay()