Searched defs:obtainBuffer (Results 1 - 4 of 4) sorted by relevance
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrackShared.cpp | 111 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 675 status_t ServerProxy::obtainBuffer(Buffer* buffer, bool ackFlush) function in class:android::ServerProxy 687 // See notes on barriers at ClientProxy::obtainBuffer() 829 // cache this value for later use by obtainBuffer(), with added barrier 831 // ignores flush(), so framesReady() may report a larger mFrameCount than obtainBuffer() 996 status_t StaticAudioTrackServerProxy::obtainBuffer(Buffe function in class:android::StaticAudioTrackServerProxy [all...] |
H A D | AudioRecord.cpp | 111 // it is looping on buffer empty condition in obtainBuffer(). 755 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount, size_t *nonContig) function in class:android::AudioRecord 788 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig); 791 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, function in class:android::AudioRecord 805 // obtainBuffer() is called with mutex unlocked, so keep extra references to these fields to 806 // keep them from going away if another thread re-creates the track during obtainBuffer() 815 // did previous obtainBuffer() fail due to media server death or voluntary invalidation? 819 status = restoreRecord_l("obtainBuffer"); 844 status = proxy->obtainBuffer(&buffer, requested, elapsed); 904 status_t err = obtainBuffer( [all...] |
H A D | AudioTrack.cpp | 263 // it is looping on buffer full condition in obtainBuffer(). 1601 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, int32_t waitCount, size_t *nonContig) function in class:android::AudioTrack 1634 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig); 1637 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested, function in class:android::AudioTrack 1651 // obtainBuffer() is called with mutex unlocked, so keep extra references to these fields to 1652 // keep them from going away if another thread re-creates the track during obtainBuffer() 1660 // did previous obtainBuffer() fail due to media server death or voluntary invalidation? 1664 status = restoreTrack_l("obtainBuffer"); 1700 status = proxy->obtainBuffer(&buffer, requested, elapsed); 1778 status_t err = obtainBuffer( [all...] |
/frameworks/av/services/audioflinger/ |
H A D | Tracks.cpp | 612 status_t status = mServerProxy->obtainBuffer(&buf); 631 // from a different thread than the one calling Proxy->obtainBuffer() and 752 (void) mAudioTrackServerProxy->obtainBuffer(&buffer, true /*ackFlush*/); 890 // Otherwise it might not get cleared until playback is resumed and obtainBuffer() is called. 1318 status_t status = obtainBuffer(&mOutBuffer, waitTimeLeftMs); 1392 status_t AudioFlinger::PlaybackThread::OutputTrack::obtainBuffer( function in class:android::AudioFlinger::PlaybackThread::OutputTrack 1400 status_t status = mClientProxy->obtainBuffer(&buf, &timeout); 1472 status_t status = mPeerProxy->obtainBuffer(&buf, &mPeerTimeout); 1492 status_t AudioFlinger::PlaybackThread::PatchTrack::obtainBuffer(Proxy::Buffer* buffer, function in class:android::AudioFlinger::PlaybackThread::PatchTrack 1502 status = mProxy->obtainBuffer(buffe 1818 status_t AudioFlinger::RecordThread::PatchRecord::obtainBuffer(Proxy::Buffer* buffer, function in class:android::AudioFlinger::RecordThread::PatchRecord [all...] |
Completed in 69 milliseconds