Lines Matching refs:obtainBuffer
142 // it is looping on buffer full condition in obtainBuffer().
1071 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, int32_t waitCount)
1098 return obtainBuffer(audioBuffer, requested);
1101 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
1115 // obtainBuffer() is called with mutex unlocked, so keep extra references to these fields to
1116 // keep them from going away if another thread re-creates the track during obtainBuffer()
1124 // did previous obtainBuffer() fail due to media server death or voluntary invalidation?
1128 status = restoreTrack_l("obtainBuffer");
1160 status = proxy->obtainBuffer(&buffer, requested, elapsed);
1225 status_t err = obtainBuffer(&audioBuffer, &ClientProxy::kForever);
1543 status_t err = obtainBuffer(&audioBuffer, requested, NULL, &nonContig);
1545 "obtainBuffer() err=%d frameCount=%u", err, audioBuffer.frameCount);
1548 ALOGV("obtainBuffer(%u) returned %u = %u + %u err %d",