• Home
  • Raw
  • Download

Lines Matching refs:kBufferFrames

33 static const int kBufferFrames = 1024;  variable
127 rstream_.buffer_frames = kBufferFrames; in SetUp()
128 rstream_.cb_threshold = kBufferFrames / 2; in SetUp()
171 area->frames = kBufferFrames; in SetUp()
205 used_size = kBufferFrames * cras_shm_frame_bytes(shm); in SetupShm()
213 for (size_t i = 0; i < kBufferFrames * 2; i++) in SetupShm()
231 devstr.conv_buffer_size_frames = kBufferFrames * 2; in SetUpFmtConv()
246 int16_t cap_buf[kBufferFrames * 2];
267 SetUpFmtConv(44100, 32000, kBufferFrames / 4); in TEST_F()
272 out_fmt.frame_rate, (kBufferFrames / 4), in_fmt.frame_rate); in TEST_F()
282 EXPECT_EQ(kBufferFrames / 4, conv_frames_call.out_frames); in TEST_F()
299 SetUpFmtConv(44100, 32000, kBufferFrames * 2); in TEST_F()
305 out_fmt.frame_rate, (kBufferFrames / 2), in_fmt.frame_rate); in TEST_F()
317 EXPECT_EQ(kBufferFrames * 2, conv_frames_call.out_frames); in TEST_F()
342 cras_frames_at_rate(in_fmt.frame_rate, kBufferFrames, out_fmt.frame_rate); in TEST_F()
343 EXPECT_LE(kBufferFrames, device_frames); // Soundness check. in TEST_F()
384 cras_frames_at_rate(out_fmt.frame_rate, kBufferFrames, in_fmt.frame_rate); in TEST_F()
385 EXPECT_LE(kBufferFrames, device_frames); // Soundness check. in TEST_F()
404 EXPECT_LE(kBufferFrames, config_format_converter_frames); in TEST_F()
405 EXPECT_LE(kBufferFrames, dev_stream->conv_buffer_size_frames); in TEST_F()
422 EXPECT_LE(kBufferFrames, config_format_converter_frames); in TEST_F()
423 EXPECT_LE(kBufferFrames, dev_stream->conv_buffer_size_frames); in TEST_F()
440 cras_frames_at_rate(in_fmt.frame_rate, kBufferFrames, out_fmt.frame_rate); in TEST_F()
441 EXPECT_LE(kBufferFrames, device_frames); // Soundness check. in TEST_F()
461 cras_frames_at_rate(out_fmt.frame_rate, kBufferFrames, in_fmt.frame_rate); in TEST_F()
462 EXPECT_LE(kBufferFrames, device_frames); // Soundness check. in TEST_F()
480 EXPECT_LE(kBufferFrames, config_format_converter_frames); in TEST_F()
481 EXPECT_LE(kBufferFrames, dev_stream->conv_buffer_size_frames); in TEST_F()
498 EXPECT_LE(kBufferFrames, config_format_converter_frames); in TEST_F()
499 EXPECT_LE(kBufferFrames, dev_stream->conv_buffer_size_frames); in TEST_F()
516 EXPECT_LE(kBufferFrames, config_format_converter_frames); in TEST_F()
517 EXPECT_LE(kBufferFrames, dev_stream->conv_buffer_size_frames); in TEST_F()
536 cras_frames_at_rate(in_fmt.frame_rate, kBufferFrames, out_fmt.frame_rate), in TEST_F()
594 expected_ts_nsec = 1000000000.0 * kBufferFrames / 2.0 / 48000.0 / 1.01; in TEST_F()
602 expected_ts_nsec = 1000000000.0 * kBufferFrames / 2.0 / 48000.0 / 1.01; in TEST_F()
610 expected_ts_nsec = 1000000000.0 * kBufferFrames / 2.0 / 48000.0; in TEST_F()