Searched refs:cras_time_to_frames (Results 1 – 5 of 5) sorted by relevance
/external/adhd/cras/src/common/ |
D | cras_util.h | 58 static inline uint64_t cras_time_to_frames(const struct timespec *t, in cras_time_to_frames() function 187 return cras_time_to_frames(&time_since, rate); in cras_frames_since_time() 201 return cras_time_to_frames(&time_until, rate); in cras_frames_until_time()
|
/external/adhd/cras/src/tests/ |
D | util_unittest.cc | 197 frames = cras_time_to_frames(&t, 48000); in TEST() 202 frames = cras_time_to_frames(&t, 48000); in TEST() 207 frames = cras_time_to_frames(&t, 48000); in TEST()
|
/external/adhd/cras/src/tools/cras_router/ |
D | cras_router.c | 41 return (size_t)cras_time_to_frames(&t, rate); in get_block_size()
|
/external/adhd/cras/src/server/ |
D | cras_iodev.c | 1408 wakeup_frames = cras_time_to_frames( in cras_iodev_default_frames_to_play_in_sleep() 1422 wakeup_frames = cras_time_to_frames(&dev_no_stream_wake_up_time, in cras_iodev_default_frames_to_play_in_sleep() 1704 frames_to_set = cras_time_to_frames(&ts, est_rate); in cras_iodev_drop_frames_by_time()
|
D | cras_alsa_io.c | 1931 fr_to_write = MIN(cras_time_to_frames(&no_stream_fill_zeros_duration, in possibly_enter_free_run()
|