Searched refs:availSource (Results 1 – 2 of 2) sorted by relevance
337 size_t availSource = pBuff->size; in audioRecorder_callback() local338 size_t bytesToCopy = availSink < availSource ? availSink : availSource; in audioRecorder_callback()344 ar->mBufferQueue.mSizeConsumed += availSource; in audioRecorder_callback()
1276 size_t availSource = oldFront->mSize - ap->mBufferQueue.mSizeConsumed; in audioTrack_callBack_pullFromBuffQueue() local1278 size_t bytesToCopy = availSource < availSink ? availSource : availSink; in audioTrack_callBack_pullFromBuffQueue()1282 if (bytesToCopy < availSource) { in audioTrack_callBack_pullFromBuffQueue()