Home | History | Annotate | Download | only in libmedia

Lines Matching defs:obtainBuffer

145         // it is looping on buffer full condition in obtainBuffer().
1081 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, int32_t waitCount)
1108 return obtainBuffer(audioBuffer, requested);
1111 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
1125 // obtainBuffer() is called with mutex unlocked, so keep extra references to these fields to
1126 // keep them from going away if another thread re-creates the track during obtainBuffer()
1134 // did previous obtainBuffer() fail due to media server death or voluntary invalidation?
1138 status = restoreTrack_l("obtainBuffer");
1170 status = proxy->obtainBuffer(&buffer, requested, elapsed);
1235 status_t err = obtainBuffer(&audioBuffer, &ClientProxy::kForever);
1553 status_t err = obtainBuffer(&audioBuffer, requested, NULL, &nonContig);
1555 "obtainBuffer() err=%d frameCount=%u", err, audioBuffer.frameCount);
1558 ALOGV("obtainBuffer(%u) returned %u = %u + %u err %d",