/frameworks/av/services/audioflinger/ |
H A D | RecordTracks.h | 114 virtual status_t obtainBuffer(Proxy::Buffer *buffer,
|
H A D | PlaybackTracks.h | 217 status_t obtainBuffer(AudioBufferProvider::Buffer* buffer, 256 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
|
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...] |
H A D | TrackBase.h | 184 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
|
/frameworks/av/include/media/ |
H A D | AudioRecord.h | 57 /* Client should declare a Buffer and pass address to obtainBuffer() 66 // on input to obtainBuffer() it is the number of frames desired 67 // on output from obtainBuffer() it is the number of available 72 // on input to obtainBuffer() it is ignored 73 // on output from obtainBuffer() it is the number of available 84 // input to obtainBuffer(): unused, output: pointer to buffer 128 TRANSFER_OBTAIN, // call obtainBuffer() and releaseBuffer() 261 /* Stop a track. The callback will cease being called. Note that obtainBuffer() still 367 * If the track buffer is not empty, obtainBuffer() returns as many contiguous 372 * if the client were to release the first frames and then call obtainBuffer() agai [all...] |
H A D | AudioTrack.h | 78 /* Client should declare a Buffer and pass the address to obtainBuffer() 87 // on input to obtainBuffer() it is the number of frames desired, 88 // on output from obtainBuffer() it is the number of available 93 // on input to obtainBuffer() it is ignored 94 // on output from obtainBuffer() it is the number of available 106 }; // input to obtainBuffer(): unused, output: pointer to buffer 152 TRANSFER_OBTAIN, // call obtainBuffer() and releaseBuffer() 392 * In streaming mode, the callback will cease being called. Note that obtainBuffer() still 408 * obtainBuffer returns WOULD_BLOCK. Note that obtainBuffer() stil [all...] |
/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioRecord.h | 57 /* Client should declare a Buffer and pass address to obtainBuffer() 66 // on input to obtainBuffer() it is the number of frames desired 67 // on output from obtainBuffer() it is the number of available 72 // on input to obtainBuffer() it is ignored 73 // on output from obtainBuffer() it is the number of available 84 // input to obtainBuffer(): unused, output: pointer to buffer 128 TRANSFER_OBTAIN, // call obtainBuffer() and releaseBuffer() 261 /* Stop a track. The callback will cease being called. Note that obtainBuffer() still 367 * If the track buffer is not empty, obtainBuffer() returns as many contiguous 372 * if the client were to release the first frames and then call obtainBuffer() agai [all...] |
H A D | AudioTrack.h | 78 /* Client should declare a Buffer and pass the address to obtainBuffer() 87 // on input to obtainBuffer() it is the number of frames desired, 88 // on output from obtainBuffer() it is the number of available 93 // on input to obtainBuffer() it is ignored 94 // on output from obtainBuffer() it is the number of available 106 }; // input to obtainBuffer(): unused, output: pointer to buffer 152 TRANSFER_OBTAIN, // call obtainBuffer() and releaseBuffer() 392 * In streaming mode, the callback will cease being called. Note that obtainBuffer() still 408 * obtainBuffer returns WOULD_BLOCK. Note that obtainBuffer() stil [all...] |
/frameworks/av/include/private/media/ |
H A D | AudioTrackShared.h | 50 #define CBLK_INTERRUPT 0x200 // set by client on interrupt(), cleared by client in obtainBuffer() 53 //EL_FIXME 20 seconds may not be enough and must be reconciled with new obtainBuffer implementation 230 size_t mUnreleased; // unreleased frames remaining from most recent obtainBuffer 246 // It is permitted to call obtainBuffer() multiple times in succession, without any intervening 247 // calls to releaseBuffer(). In that case, the final obtainBuffer() is the one that effectively 278 status_t obtainBuffer(Buffer* buffer, const struct timespec *requested = NULL, 284 // buffer->mRaw is ignored, but is normally same pointer returned by last obtainBuffer(). 294 // Call to force an obtainBuffer() to return quickly with -EINTR 485 // It is permitted to call obtainBuffer() multiple times in succession, without any intervening 486 // calls to releaseBuffer(). In that case, the final obtainBuffer() i [all...] |
/frameworks/av/media/libaudioclient/ |
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 | 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 | 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/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 890 status_t status = track->obtainBuffer(&buffer, 1); 906 status_t status = record->obtainBuffer(&buffer, 1);
|