Lines Matching defs:frames
630 // framesReady() may return an approximation of the number of frames if called
636 // Static tracks return zero frames immediately upon stopping (for FastTracks).
651 // The server side frames are already translated to client frames.
1048 // a track is considered presented when the total number of frames written to audio HAL
1049 // corresponds to the number of frames written when presentationComplete() is called for the
1052 // to detect when all frames have been played. In this case framesWritten isn't
1221 // Set correction for flushed frames that are not accounted for in released.
1289 bool AudioFlinger::PlaybackThread::OutputTrack::write(void* data, uint32_t frames)
1294 inBuffer.frameCount = frames;
1299 if (!mActive && frames != 0) {
1363 // If we could not write all frames, allocate a buffer and queue it for next time.
1384 // We rely on stop() to set the appropriate flags to allow the remaining frames to play out.
1385 if (frames == 0 && mBufferQueue.size() == 0 && mActive) {
1751 // Convert HAL frames to server-side track frames at track sample rate.