Searched refs:obtainBuffer (Results 1 - 11 of 11) sorted by relevance

/frameworks/av/services/audioflinger/
H A DRecordTracks.h109 virtual status_t obtainBuffer(Proxy::Buffer *buffer,
H A DPlaybackTracks.h202 status_t obtainBuffer(AudioBufferProvider::Buffer* buffer,
241 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
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...]
H A DTrackBase.h178 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
/frameworks/av/include/media/
H A DAudioRecord.h57 /* 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()
254 /* Stop a track. The callback will cease being called. Note that obtainBuffer() still
360 * If the track buffer is not empty, obtainBuffer() returns as many contiguous
365 * if the client were to release the first frames and then call obtainBuffer() agai
[all...]
H A DAudioTrack.h78 /* 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()
387 * In streaming mode, the callback will cease being called. Note that obtainBuffer() still
403 * obtainBuffer returns WOULD_BLOCK. Note that obtainBuffer() stil
[all...]
/frameworks/av/include/private/media/
H A DAudioTrackShared.h50 #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/libmedia/
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 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 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/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp890 status_t status = track->obtainBuffer(&buffer, 1);
906 status_t status = record->obtainBuffer(&buffer, 1);

Completed in 2440 milliseconds