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