Home
last modified time | relevance | path

Searched refs:target_frames (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/server/
Ddev_io.c373 unsigned int dev_rate, half_buffer_size, target_frames; in get_input_dev_max_wake_ts() local
384 target_frames = half_buffer_size - curr_level; in get_input_dev_max_wake_ts()
386 target_frames = 0; in get_input_dev_max_wake_ts()
388 cras_frames_to_time(target_frames, dev_rate, &dev_wake_ts); in get_input_dev_max_wake_ts()
Dcras_iodev.c1656 unsigned int target_frames, dropped_frames = 0; in cras_iodev_drop_frames() local
1665 target_frames = MIN(frames, rc); in cras_iodev_drop_frames()
1672 for (i = 0; (dropped_frames < target_frames) && (i < 2); i++) { in cras_iodev_drop_frames()
1673 frames = target_frames - dropped_frames; in cras_iodev_drop_frames()