Lines Matching refs:obtainBuffer

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.
369 * If the track buffer is empty and track is stopped, obtainBuffer() returns WOULD_BLOCK
371 * If the track buffer is empty and track is not stopped, obtainBuffer() blocks with a
374 * is exhausted, at which point obtainBuffer() will either block
398 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,
447 * if the client were to release the first frames and then call obtainBuffer() again.
450 * FIXME We could pass an array of Buffers instead of only one Buffer to obtainBuffer(),
454 status_t obtainBuffer(Buffer* audioBuffer, const struct timespec *requested,
470 * This is implemented on top of obtainBuffer/releaseBuffer. For best
475 * WOULD_BLOCK when obtainBuffer() returns same, or
569 uint32_t mRemainingFrames; // number of frames to request in obtainBuffer()
570 bool mRetryOnPartialBuffer; // sleep and retry after partial obtainBuffer()
623 // An exception is that a blocking ClientProxy::obtainBuffer() may be called without a lock,
625 // them around in case they are replaced during the obtainBuffer().