Lines Matching full:frames
93 uint32_t mServer; // Number of filled frames consumed by server (mIsOut),
94 // or filled frames provided by server (!mIsOut).
156 size_t mFrameCount; // number of frames available in this buffer
158 size_t mNonContig; // number of additional non-contiguous frames available
173 size_t mUnreleased; // unreleased frames remaining from most recent obtainBuffer
189 // Obtain a buffer with filled frames (reading) or empty frames (writing).
194 // buffer->mFrameCount should be initialized to maximum number of desired frames,
205 // buffer->mFrameCount has the actual number of contiguous available frames,
207 // buffer->mNonContig is the number of additional non-contiguous available frames.
212 // WOULD_BLOCK Non-blocking mode and no frames are available.
213 // TIMED_OUT Timeout occurred before any frames became available.
223 // Release (some of) the frames last obtained.
224 // On entry, buffer->mFrameCount should have the number of frames to release,
225 // which must (cumulatively) be <= the number of frames last obtained but not yet released.
227 // It is permitted to call releaseBuffer() multiple times to release the frames in chunks.
251 // Return the number of frames that would need to be obtained and released
314 #define MIN_LOOP 16 // minimum length of each loop iteration in frames
353 // Obtain a buffer with filled frames (writing) or empty frames (reading).
359 // buffer->mFrameCount should be initialized to maximum number of desired frames,
365 // buffer->mFrameCount has the actual number of contiguous available frames,
367 frames.
372 // WOULD_BLOCK No frames are available.
376 // Release (some of) the frames last obtained.
377 // On entry, buffer->mFrameCount should have the number of frames to release,
378 // which must (cumulatively) be <= the number of frames last obtained but not yet released.
379 // It is permitted to call releaseBuffer() multiple times to release the frames in chunks.
387 size_t mAvailToClient; // estimated frames available to client prior to releaseBuffer()
406 // estimated total number of filled frames available to server to read,
407 // which may include non-contiguous frames
420 // Add to the tally of underrun frames, and inform client of underrun
423 // Return the total number of frames which AudioFlinger desired but were unavailable,
427 // Return the total number of frames that AudioFlinger has obtained and released
449 size_t mPosition; // server's current play position in frames, relative to 0