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

/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp111 status_t ClientProxy::obtainBuffer(Buffer* buffer, const struct timespec *requested, function in class:android::ClientProxy
161 // check for obtainBuffer interrupted by client
163 ALOGV("obtainBuffer() interrupted by client");
269 LOG_ALWAYS_FATAL("obtainBuffer() timeout=%d", timeout);
450 // check for obtainBuffer interrupted by client
625 status_t ServerProxy::obtainBuffer(Buffer* buffer, bool ackFlush) function in class:android::ServerProxy
637 // See notes on barriers at ClientProxy::obtainBuffer()
812 // cache this value for later use by obtainBuffer(), with added barrier
814 // ignores flush(), so framesReady() may report a larger mFrameCount than obtainBuffer()
979 status_t StaticAudioTrackServerProxy::obtainBuffer(Buffe function in class:android::StaticAudioTrackServerProxy
[all...]
H A DAudioRecord.cpp109 // it is looping on buffer empty condition in obtainBuffer().
739 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount, size_t *nonContig) function in class:android::AudioRecord
772 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig);
775 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, function in class:android::AudioRecord
789 // obtainBuffer() is called with mutex unlocked, so keep extra references to these fields to
790 // keep them from going away if another thread re-creates the track during obtainBuffer()
799 // did previous obtainBuffer() fail due to media server death or voluntary invalidation?
803 status = restoreRecord_l("obtainBuffer");
828 status = proxy->obtainBuffer(&buffer, requested, elapsed);
888 status_t err = obtainBuffer(
[all...]
H A DAudioTrack.cpp253 // it is looping on buffer full condition in obtainBuffer().
1568 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, int32_t waitCount, size_t *nonContig) function in class:android::AudioTrack
1601 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig);
1604 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, function in class:android::AudioTrack
1618 // obtainBuffer() is called with mutex unlocked, so keep extra references to these fields to
1619 // keep them from going away if another thread re-creates the track during obtainBuffer()
1627 // did previous obtainBuffer() fail due to media server death or voluntary invalidation?
1631 status = restoreTrack_l("obtainBuffer");
1667 status = proxy->obtainBuffer(&buffer, requested, elapsed);
1745 status_t err = obtainBuffer(
[all...]
/frameworks/av/services/audioflinger/
H A DTracks.cpp564 status_t status = mServerProxy->obtainBuffer(&buf);
581 // from a different thread than the one calling Proxy->obtainBuffer() and
702 (void) mAudioTrackServerProxy->obtainBuffer(&buffer, true /*ackFlush*/);
1217 status_t status = obtainBuffer(&mOutBuffer, waitTimeLeftMs);
1291 status_t AudioFlinger::PlaybackThread::OutputTrack::obtainBuffer( function in class:android::AudioFlinger::PlaybackThread::OutputTrack
1299 status_t status = mClientProxy->obtainBuffer(&buf, &timeout);
1371 status_t status = mPeerProxy->obtainBuffer(&buf, &mPeerTimeout);
1391 status_t AudioFlinger::PlaybackThread::PatchTrack::obtainBuffer(Proxy::Buffer* buffer, function in class:android::AudioFlinger::PlaybackThread::PatchTrack
1401 status = mProxy->obtainBuffer(buffer, timeOut);
1535 status_t status = mServerProxy->obtainBuffer(
1715 status_t AudioFlinger::RecordThread::PatchRecord::obtainBuffer(Proxy::Buffer* buffer, function in class:android::AudioFlinger::RecordThread::PatchRecord
[all...]

Completed in 52 milliseconds