Lines Matching defs:obtainBuffer
111 // it is looping on buffer empty condition in obtainBuffer().
755 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount, size_t *nonContig)
788 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig);
791 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
805 // obtainBuffer() is called with mutex unlocked, so keep extra references to these fields to
806 // keep them from going away if another thread re-creates the track during obtainBuffer()
815 // did previous obtainBuffer() fail due to media server death or voluntary invalidation?
819 status = restoreRecord_l("obtainBuffer");
844 status = proxy->obtainBuffer(&buffer, requested, elapsed);
904 status_t err = obtainBuffer(&audioBuffer,
1084 status_t err = obtainBuffer(&audioBuffer, requested, NULL, &nonContig);
1086 "obtainBuffer() err=%d frameCount=%zu", err, audioBuffer.frameCount);
1089 ALOGV("obtainBuffer(%u) returned %zu = %zu + %zu err %d",