HomeSort by relevance Sort by last modified time
    Searched refs:obtainBuffer (Results 1 - 11 of 11) sorted by null

  /frameworks/av/services/audioflinger/
RecordTracks.h 113 virtual status_t obtainBuffer(Proxy::Buffer *buffer,
TrackBase.h 176 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
PlaybackTracks.h 205 status_t obtainBuffer(AudioBufferProvider::Buffer* buffer,
244 virtual status_t obtainBuffer(Proxy::Buffer* buffer,
Tracks.cpp 563 status_t status = mServerProxy->obtainBuffer(&buf);
580 // from a different thread than the one calling Proxy->obtainBuffer() and
701 (void) mAudioTrackServerProxy->obtainBuffer(&buffer, true /*ackFlush*/);
    [all...]
  /frameworks/av/include/private/media/
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() is the one that effectivel
    [all...]
  /frameworks/av/include/media/
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()
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() again
    [all...]
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()
387 * In streaming mode, the callback will cease being called. Note that obtainBuffer() still
403 * obtainBuffer returns WOULD_BLOCK. Note that obtainBuffer() still work
    [all...]
  /frameworks/av/media/libmedia/
AudioRecord.cpp 109 // it is looping on buffer empty condition in obtainBuffer().
739 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount, size_t *nonContig)
772 return obtainBuffer(audioBuffer, requested, NULL /*elapsed*/, nonContig);
775 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
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(&audioBuffer
    [all...]
AudioTrackShared.cpp 111 status_t ClientProxy::obtainBuffer(Buffer* buffer, const struct timespec *requested,
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)
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()
    [all...]
AudioTrack.cpp 253 // it is looping on buffer full condition in obtainBuffer().
    [all...]
  /frameworks/opt/net/voip/src/jni/rtp/
AudioGroup.cpp 890 status_t status = track->obtainBuffer(&buffer, 1);
906 status_t status = record->obtainBuffer(&buffer, 1);

Completed in 704 milliseconds