Searched refs:cras_frames_at_rate (Results 1 – 6 of 6) sorted by relevance
/external/adhd/cras/src/tests/ |
D | dev_stream_unittest.cc | 271 conv_buf_avail_at_input_rate = cras_frames_at_rate( in TEST_F() 304 stream_avail_at_input_rate = cras_frames_at_rate( in TEST_F() 342 cras_frames_at_rate(in_fmt.frame_rate, kBufferFrames, out_fmt.frame_rate); in TEST_F() 384 cras_frames_at_rate(out_fmt.frame_rate, kBufferFrames, in_fmt.frame_rate); in TEST_F() 440 cras_frames_at_rate(in_fmt.frame_rate, kBufferFrames, out_fmt.frame_rate); in TEST_F() 461 cras_frames_at_rate(out_fmt.frame_rate, kBufferFrames, in_fmt.frame_rate); in TEST_F() 536 cras_frames_at_rate(in_fmt.frame_rate, kBufferFrames, out_fmt.frame_rate), in TEST_F() 545 EXPECT_EQ(cras_frames_at_rate(48000, 512 - 50, 44100), avail); in TEST_F() 974 cras_frames_at_rate(44100, rstream_.cb_threshold - written_frames, 48000); in TEST_F() 1221 ret = cras_frames_at_rate(in_fmt.frame_rate, *in_frames, out_fmt.frame_rate); in cras_fmt_conv_convert_frames() [all …]
|
/external/adhd/cras/src/common/ |
D | cras_util.h | 32 static inline size_t cras_frames_at_rate(size_t orig_rate, size_t orig_frames, in cras_frames_at_rate() function
|
/external/adhd/cras/src/server/ |
D | cras_fmt_conv.c | 626 in_frames = cras_frames_at_rate(conv->in_fmt.frame_rate, in_frames, in cras_fmt_conv_in_frames_to_out() 642 out_frames = cras_frames_at_rate(conv->out_fmt.frame_rate, out_frames, in cras_fmt_conv_out_frames_to_in() 754 fr_out = cras_frames_at_rate(conv->in_fmt.frame_rate, fr_in, in cras_fmt_conv_convert_frames()
|
D | dev_stream.c | 52 cras_frames_at_rate(stream_rate, stream_frames, in max_frames_for_conversion()
|
D | dev_io.c | 1487 level -= cras_frames_at_rate( in dev_io_append_stream()
|
D | cras_iodev.c | 954 cb_level = cras_frames_at_rate(fmt->frame_rate, cb_level, in cras_iodev_open()
|