Home
last modified time | relevance | path

Searched refs:cras_frames_to_ms (Results 1 – 4 of 4) sorted by relevance

/external/adhd/cras/src/tests/
Dutil_unittest.cc212 EXPECT_EQ(500, cras_frames_to_ms(24000, 48000)); in TEST()
213 EXPECT_EQ(0, cras_frames_to_ms(1, 48000)); in TEST()
214 EXPECT_EQ(10, cras_frames_to_ms(480, 48000)); in TEST()
215 EXPECT_EQ(10, cras_frames_to_ms(488, 48000)); in TEST()
216 EXPECT_EQ(50, cras_frames_to_ms(800, 16000)); in TEST()
/external/adhd/cras/src/common/
Dcras_util.h65 static inline unsigned int cras_frames_to_ms(unsigned int frames, in cras_frames_to_ms() function
/external/adhd/cras/src/server/
Daudio_thread.c416 return 1 + cras_frames_to_ms(fr_in_buff, rstream->format.frame_rate); in thread_drain_stream_ms_remaining()
Ddev_io.c457 cras_frames_to_ms(rc, adev->dev->format->frame_rate) >= in set_input_dev_wake_ts()