Home | History | Annotate | Download | only in libmedia

Lines Matching defs:obtainBuffer

104         // it is looping on buffer empty condition in obtainBuffer().
535 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount)
562 return obtainBuffer(audioBuffer, requested);
565 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
579 // obtainBuffer() is called with mutex unlocked, so keep extra references to these fields to
580 // keep them from going away if another thread re-creates the track during obtainBuffer()
588 // did previous obtainBuffer() fail due to media server death or voluntary invalidation?
592 status = restoreRecord_l("obtainBuffer");
613 status = proxy->obtainBuffer(&buffer, requested, elapsed);
673 status_t err = obtainBuffer(&audioBuffer, &ClientProxy::kForever);
842 status_t err = obtainBuffer(&audioBuffer, requested, NULL, &nonContig);
844 "obtainBuffer() err=%d frameCount=%u", err, audioBuffer.frameCount);
847 ALOGV("obtainBuffer(%u) returned %u = %u + %u",