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

  /frameworks/av/include/media/
AudioRecord.h 52 /* Client should declare Buffer on the stack and pass address to obtainBuffer()
114 TRANSFER_OBTAIN, // FIXME deprecated: call obtainBuffer() and releaseBuffer()
224 /* Stop a track. If set, the callback will cease being called. Note that obtainBuffer() still
312 * If the track buffer is not empty, obtainBuffer() returns as many contiguous
314 * If the track buffer is empty and track is stopped, obtainBuffer() returns WOULD_BLOCK
316 * If the track buffer is empty and track is not stopped, obtainBuffer() blocks with a
319 * is exhausted, at which point obtainBuffer() will either block
323 * obtainBuffer() and releaseBuffer() are deprecated for direct use by applications,
345 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount)
351 * FIXME We could pass an array of Buffers instead of only one Buffer to obtainBuffer(),
    [all...]
AudioTrack.h 71 /* Client should declare Buffer on the stack and pass address to obtainBuffer()
137 TRANSFER_OBTAIN, // FIXME deprecated: call obtainBuffer() and releaseBuffer()
292 * In streaming mode, the callback will cease being called. Note that obtainBuffer() still
308 * obtainBuffer returns WOULD_BLOCK. Note that obtainBuffer() still works
480 * If the track buffer is not full, obtainBuffer() returns as many contiguous
482 * If the track buffer is full and track is stopped, obtainBuffer() returns WOULD_BLOCK
484 * If the track buffer is full and track is not stopped, obtainBuffer() blocks with a
487 * is exhausted, at which point obtainBuffer() will either block
492 * obtainBuffer() and releaseBuffer() are deprecated for direct use by applications
    [all...]
  /frameworks/av/include/private/media/
AudioTrackShared.h 47 #define CBLK_INTERRUPT 0x200 // set by client on interrupt(), cleared by client in obtainBuffer()
50 //EL_FIXME 20 seconds may not be enough and must be reconciled with new obtainBuffer implementation
173 size_t mUnreleased; // unreleased frames remaining from most recent obtainBuffer
190 // It is permitted to call obtainBuffer() multiple times in succession, without any intervening
191 // calls to releaseBuffer(). In that case, the final obtainBuffer() is the one that effectively
220 status_t obtainBuffer(Buffer* buffer, const struct timespec *requested = NULL,
226 // buffer->mRaw is ignored, but is normally same pointer returned by last obtainBuffer().
236 // Call to force an obtainBuffer() to return quickly with -EINTR
354 // It is permitted to call obtainBuffer() multiple times in succession, without any intervening
355 // calls to releaseBuffer(). In that case, the final obtainBuffer() is the one that effectivel
    [all...]
  /frameworks/av/media/libmedia/
AudioRecord.cpp 104 // it is looping on buffer empty condition in obtainBuffer().
535 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount)
562 return obtainBuffer(audioBuffer, requested);
565 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
579 // obtainBuffer() is called with mutex unlocked, so keep extra references to these fields to
580 // keep them from going away if another thread re-creates the track during obtainBuffer()
588 // did previous obtainBuffer() fail due to media server death or voluntary invalidation?
592 status = restoreRecord_l("obtainBuffer");
613 status = proxy->obtainBuffer(&buffer, requested, elapsed);
673 status_t err = obtainBuffer(&audioBuffer, &ClientProxy::kForever)
    [all...]
AudioTrack.cpp 142 // it is looping on buffer full condition in obtainBuffer().
    [all...]
AudioTrackShared.cpp 64 status_t ClientProxy::obtainBuffer(Buffer* buffer, const struct timespec *requested,
109 // check for obtainBuffer interrupted by client
111 ALOGV("obtainBuffer() interrupted by client");
203 LOG_FATAL("obtainBuffer() timeout=%d", timeout);
390 // check for obtainBuffer interrupted by client
391 // check for obtainBuffer interrupted by client
509 status_t ServerProxy::obtainBuffer(Buffer* buffer, bool ackFlush)
521 // See notes on barriers at ClientProxy::obtainBuffer()
670 // cache this value for later use by obtainBuffer(), with added barrier
672 // ignores flush(), so framesReady() may report a larger mFrameCount than obtainBuffer()
    [all...]
  /frameworks/av/services/audioflinger/
PlaybackTracks.h 272 status_t obtainBuffer(AudioBufferProvider::Buffer* buffer,
Tracks.cpp 508 status_t status = mServerProxy->obtainBuffer(&buf);
611 (void) mAudioTrackServerProxy->obtainBuffer(&buffer, true /*ackFlush*/);
    [all...]
  /frameworks/opt/net/voip/src/jni/rtp/
AudioGroup.cpp 885 status_t status = track->obtainBuffer(&buffer, 1);
901 status_t status = record->obtainBuffer(&buffer, 1);

Completed in 193 milliseconds