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()
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,
514 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount)
520 * FIXME We could pass an array of Buffers instead of only one Buffer to obtainBuffer(),
524 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
528 //EL_FIXME to be reconciled with new obtainBuffer() return codes and control block proxy
538 // FIXME make private when obtainBuffer() for TRANSFER_OBTAIN is removed
543 * This is implemented on top of obtainBuffer/releaseBuffer. For best
548 * WOULD_BLOCK when obtainBuffer() returns same, or
708 uint32_t mRemainingFrames; // number of frames to request in obtainBuffer()
709 bool mRetryOnPartialBuffer; // sleep and retry after partial obtainBuffer()
732 // An exception is that a blocking ClientProxy::obtainBuffer() may be called without a lock,
734 // them around in case they are replaced during the obtainBuffer().