Lines Matching defs:frames
30 #define SLEEP_FUZZ_FRAMES 10 /* # to consider "close enough" to sleep frames. */
654 * write_limit - The maximum number of frames to write to dst.
657 * The number of frames rendered on success, a negative error code otherwise.
658 * This number of frames is the minimum of the amount of frames each stream
681 * number of frames for playback. */
743 /* Gets the max delay frames of open input devices. */
1150 unsigned int frames, fr_to_req;
1198 frames = fr_to_req - total_written;
1199 rc = cras_iodev_get_output_buffer(odev, &area, &frames);
1205 written = write_streams(thread, adev, dst, frames);
1209 if (written < (snd_pcm_sframes_t)frames)
1236 /* For multiple output case, update the number of queued frames in shm
1280 * write_limit - Initial limit to number of frames to capture.