Searched refs:availSource (Results 1 – 2 of 2) sorted by relevance
335 size_t availSource = pBuff->size; in audioRecorder_callback() local336 size_t bytesToCopy = availSink < availSource ? availSink : availSource; in audioRecorder_callback()342 ar->mBufferQueue.mSizeConsumed += availSource; in audioRecorder_callback()
1275 size_t availSource = oldFront->mSize - ap->mBufferQueue.mSizeConsumed; in audioTrack_callBack_pullFromBuffQueue() local1277 size_t bytesToCopy = availSource < availSink ? availSource : availSink; in audioTrack_callBack_pullFromBuffQueue()1281 if (bytesToCopy < availSource) { in audioTrack_callBack_pullFromBuffQueue()