Searched refs:availSource (Results 1 – 2 of 2) sorted by relevance
334 size_t availSource = pBuff->size; in audioRecorder_callback() local335 size_t bytesToCopy = availSink < availSource ? availSink : availSource; in audioRecorder_callback()341 ar->mBufferQueue.mSizeConsumed += availSource; in audioRecorder_callback()
1274 size_t availSource = oldFront->mSize - ap->mBufferQueue.mSizeConsumed; in audioTrack_callBack_pullFromBuffQueue() local1276 size_t bytesToCopy = availSource < availSink ? availSource : availSink; in audioTrack_callBack_pullFromBuffQueue()1280 if (bytesToCopy < availSource) { in audioTrack_callBack_pullFromBuffQueue()