Searched refs:cras_frames_to_ms (Results 1 – 4 of 4) sorted by relevance
/external/adhd/cras/src/tests/ |
D | util_unittest.cc | 212 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/ |
D | cras_util.h | 65 static inline unsigned int cras_frames_to_ms(unsigned int frames, in cras_frames_to_ms() function
|
/external/adhd/cras/src/server/ |
D | audio_thread.c | 416 return 1 + cras_frames_to_ms(fr_in_buff, rstream->format.frame_rate); in thread_drain_stream_ms_remaining()
|
D | dev_io.c | 457 cras_frames_to_ms(rc, adev->dev->format->frame_rate) >= in set_input_dev_wake_ts()
|