Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_iodev.c652 uint64_t to_play_usec; in cras_iodev_fill_time_from_frames() local
656 to_play_usec = (uint64_t)frames * 1000000L / (uint64_t)frame_rate; in cras_iodev_fill_time_from_frames()
658 while (to_play_usec > 1000000) { in cras_iodev_fill_time_from_frames()
660 to_play_usec -= 1000000; in cras_iodev_fill_time_from_frames()
662 ts->tv_nsec = to_play_usec * 1000; in cras_iodev_fill_time_from_frames()
/external/adhd/cras/src/tests/
Daudio_thread_unittest_obsolete.cc1899 uint64_t to_play_usec; in cras_iodev_fill_time_from_frames() local
1903 to_play_usec = (uint64_t)frames * 1000000L / (uint64_t)frame_rate; in cras_iodev_fill_time_from_frames()
1905 while (to_play_usec > 1000000) { in cras_iodev_fill_time_from_frames()
1907 to_play_usec -= 1000000; in cras_iodev_fill_time_from_frames()
1909 ts->tv_nsec = to_play_usec * 1000; in cras_iodev_fill_time_from_frames()