Lines Matching refs:frames
131 uint64_t written; /* total frames written, not cleared when entering standby */
467 /* read_frames() reads frames from kernel driver, down samples to capture rate
468 * if necessary and output the number of frames requested to the buffer specified */
469 static ssize_t read_frames(struct stream_in *in, void *buffer, ssize_t frames)
473 while (frames_wr < frames) {
474 size_t frames_rd = frames - frames_wr;
703 /* do not allow more than out->cur_write_threshold frames in kernel
801 uint64_t *frames, struct timespec *timestamp)
815 *frames = signed_frames;
845 * multiple of 16 frames, as audioflinger expects audio buffers to
846 * be a multiple of 16 frames
969 * If the PCM is stereo, capture twice as many frames and
1181 * multiple of 16 frames, as audioflinger expects audio buffers to
1182 * be a multiple of 16 frames