Searched defs:obtainBuffer (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/media/libmedia/
H A DAudioRecord.cpp101 // it is looping on buffer empty condition in obtainBuffer().
591 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount) function in class:android::AudioRecord
618 return obtainBuffer(audioBuffer, requested);
621 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, function in class:android::AudioRecord
635 // obtainBuffer() is called with mutex unlocked, so keep extra references to these fields to
636 // keep them from going away if another thread re-creates the track during obtainBuffer()
645 // did previous obtainBuffer() fail due to media server death or voluntary invalidation?
649 status = restoreRecord_l("obtainBuffer");
674 status = proxy->obtainBuffer(&buffer, requested, elapsed);
734 status_t err = obtainBuffer(
[all...]
H A DAudioTrackShared.cpp70 status_t ClientProxy::obtainBuffer(Buffer* buffer, const struct timespec *requested, function in class:android::ClientProxy
115 // check for obtainBuffer interrupted by client
117 ALOGV("obtainBuffer() interrupted by client");
216 LOG_ALWAYS_FATAL("obtainBuffer() timeout=%d", timeout);
411 // check for obtainBuffer interrupted by client
412 // check for obtainBuffer interrupted by client
539 status_t ServerProxy::obtainBuffer(Buffer* buffer, bool ackFlush) function in class:android::ServerProxy
551 // See notes on barriers at ClientProxy::obtainBuffer()
711 // cache this value for later use by obtainBuffer(), with added barrier
713 // ignores flush(), so framesReady() may report a larger mFrameCount than obtainBuffer()
816 status_t StaticAudioTrackServerProxy::obtainBuffer(Buffer* buffer, bool ackFlush __unused) function in class:android::StaticAudioTrackServerProxy
[all...]
H A DAudioTrack.cpp188 // it is looping on buffer full condition in obtainBuffer().
1261 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, int32_t waitCount) function in class:android::AudioTrack
1288 return obtainBuffer(audioBuffer, requested);
1291 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, function in class:android::AudioTrack
1305 // obtainBuffer() is called with mutex unlocked, so keep extra references to these fields to
1306 // keep them from going away if another thread re-creates the track during obtainBuffer()
1314 // did previous obtainBuffer() fail due to media server death or voluntary invalidation?
1318 status = restoreTrack_l("obtainBuffer");
1350 status = proxy->obtainBuffer(&buffer, requested, elapsed);
1425 status_t err = obtainBuffer(
[all...]
/frameworks/av/services/audioflinger/
H A DTracks.cpp601 status_t status = mServerProxy->obtainBuffer(&buf);
615 // from a different thread than the one calling Proxy->obtainBuffer() and
715 (void) mAudioTrackServerProxy->obtainBuffer(&buffer, true /*ackFlush*/);
1759 status_t status = obtainBuffer(&mOutBuffer, waitTimeLeftMs);
1842 status_t AudioFlinger::PlaybackThread::OutputTrack::obtainBuffer( function in class:android::AudioFlinger::PlaybackThread::OutputTrack
1850 status_t status = mClientProxy->obtainBuffer(&buf, &timeout);
1903 status_t status = mPeerProxy->obtainBuffer(&buf, &mPeerTimeout);
1923 status_t AudioFlinger::PlaybackThread::PatchTrack::obtainBuffer(Proxy::Buffer* buffer, function in class:android::AudioFlinger::PlaybackThread::PatchTrack
1926 return mProxy->obtainBuffer(buffer, timeOut);
2042 status_t status = mServerProxy->obtainBuffer(
2204 status_t AudioFlinger::RecordThread::PatchRecord::obtainBuffer(Proxy::Buffer* buffer, function in class:android::AudioFlinger::RecordThread::PatchRecord
[all...]

Completed in 193 milliseconds