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.c670 uint64_t to_play_usec; in cras_iodev_fill_time_from_frames() local
674 to_play_usec = (uint64_t)frames * 1000000L / (uint64_t)frame_rate; in cras_iodev_fill_time_from_frames()
676 while (to_play_usec > 1000000) { in cras_iodev_fill_time_from_frames()
678 to_play_usec -= 1000000; in cras_iodev_fill_time_from_frames()
680 ts->tv_nsec = to_play_usec * 1000; in cras_iodev_fill_time_from_frames()
/external/adhd/cras/src/tests/
Daudio_thread_unittest_obsolete.cc1872 uint64_t to_play_usec; in cras_iodev_fill_time_from_frames() local
1876 to_play_usec = (uint64_t)frames * 1000000L / (uint64_t)frame_rate; in cras_iodev_fill_time_from_frames()
1878 while (to_play_usec > 1000000) { in cras_iodev_fill_time_from_frames()
1880 to_play_usec -= 1000000; in cras_iodev_fill_time_from_frames()
1882 ts->tv_nsec = to_play_usec * 1000; in cras_iodev_fill_time_from_frames()