Home | History | Annotate | Download | only in media

Lines Matching refs:obtainBuffer

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 works
631 * If the track buffer is not full, obtainBuffer() returns as many contiguous
636 * if the client were to release the first frames and then call obtainBuffer() again.
640 obtainBuffer() returns WOULD_BLOCK
642 * If the track buffer is full and track is not stopped, obtainBuffer() blocks with a
645 * is exhausted, at which point obtainBuffer() will either block
668 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,
674 * if the client were to release the first frames and then call obtainBuffer() again.
677 * FIXME We could pass an array of Buffers instead of only one Buffer to obtainBuffer(),
681 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
697 * This is implemented on top of obtainBuffer/releaseBuffer. For best
702 * WOULD_BLOCK when obtainBuffer() returns same, or
1021 uint32_t mRemainingFrames; // number of frames to request in obtainBuffer()
1022 bool mRetryOnPartialBuffer; // sleep and retry after partial obtainBuffer()
1079 // An exception is that a blocking ClientProxy::obtainBuffer() may be called without a lock,
1081 // them around in case they are replaced during the obtainBuffer().