Home | History | Annotate | Download | only in media

Lines Matching refs:obtainBuffer

71     /* Client should declare Buffer on the stack and pass address to obtainBuffer()
137 TRANSFER_OBTAIN, // FIXME deprecated: call obtainBuffer() and releaseBuffer()
295 * In streaming mode, the callback will cease being called. Note that obtainBuffer() still
311 * obtainBuffer returns WOULD_BLOCK. Note that obtainBuffer() still works
483 * If the track buffer is not full, obtainBuffer() returns as many contiguous
485 * If the track buffer is full and track is stopped, obtainBuffer() returns WOULD_BLOCK
487 * If the track buffer is full and track is not stopped, obtainBuffer() blocks with a
490 * is exhausted, at which point obtainBuffer() will either block
495 * obtainBuffer() and releaseBuffer() are deprecated for direct use by applications,
517 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount)
523 * FIXME We could pass an array of Buffers instead of only one Buffer to obtainBuffer(),
527 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
531 //EL_FIXME to be reconciled with new obtainBuffer() return codes and control block proxy
541 // FIXME make private when obtainBuffer() for TRANSFER_OBTAIN is removed
546 * This is implemented on top of obtainBuffer/releaseBuffer. For best
551 * WOULD_BLOCK when obtainBuffer() returns same, or
711 uint32_t mRemainingFrames; // number of frames to request in obtainBuffer()
712 bool mRetryOnPartialBuffer; // sleep and retry after partial obtainBuffer()
735 // An exception is that a blocking ClientProxy::obtainBuffer() may be called without a lock,
737 // them around in case they are replaced during the obtainBuffer().