Home
last modified time | relevance | path

Searched refs:min_buffer_level (Results 1 – 12 of 12) sorted by relevance

/external/adhd/cras/src/server/
Dcras_alsa_io.c1746 odev->min_buffer_level + odev->min_cb_level); in adjust_appl_ptr()
1773 if (real_hw_level < odev->min_buffer_level) in adjust_appl_ptr_samples_remaining()
1779 offset = MAX(odev->min_buffer_level + odev->min_cb_level, valid_sample); in adjust_appl_ptr_samples_remaining()
1812 unsigned int target_hw_level = odev->min_cb_level * 2 + odev->min_buffer_level; in possibly_enter_free_run()
1827 if (real_hw_level < odev->min_buffer_level) { in possibly_enter_free_run()
2017 iodev->min_buffer_level = USB_EXTRA_BUFFER_FRAMES; in alsa_iodev_create()
2048 iodev->min_buffer_level = level; in alsa_iodev_create()
Dcras_iodev.c1224 if (rc < iodev->min_buffer_level) in cras_iodev_frames_queued()
1227 return rc - iodev->min_buffer_level; in cras_iodev_frames_queued()
1235 if (hw_level + iodev->min_buffer_level > iodev->buffer_size) in cras_iodev_buffer_avail()
1238 return iodev->buffer_size - iodev->min_buffer_level - hw_level; in cras_iodev_buffer_avail()
Dcras_a2dp_iodev.c179 iodev->min_buffer_level = a2dpio->sock_depth_frames; in configure_dev()
333 if (written && (iodev->min_buffer_level + written < queued_frames)) in flush_data()
Dcras_bt_io.c201 iodev->min_buffer_level = dev->min_buffer_level; in configure_dev()
Daudio_thread.c251 cras_iodev_fill_odev_zeros(odev, odev->min_buffer_level); in fill_odevs_zeros_min_level()
559 di->min_buffer_level = adev->dev->min_buffer_level; in append_dev_dump_info()
Dcras_iodev.h238 unsigned int min_buffer_level; member
/external/adhd/cras/src/common/
Dcras_types.h247 uint32_t min_buffer_level; member
/external/adhd/cras/src/tests/
Dalsa_io_unittest.cc2014 aio.base.min_buffer_level = 0; in SetUp()
2158 aio.base.min_buffer_level = 512; in TEST_F()
2181 aio.base.min_buffer_level = 256; in TEST_F()
2189 EXPECT_EQ(aio.base.min_buffer_level + aio.base.min_cb_level, in TEST_F()
2201 aio.base.min_buffer_level = 512; in TEST_F()
2207 EXPECT_EQ(aio.base.min_buffer_level + aio.base.min_cb_level, in TEST_F()
2233 EXPECT_EQ(aio.base.min_buffer_level + aio.base.min_cb_level, in TEST_F()
Diodev_unittest.cc1031 iodev.min_buffer_level = 0; in TEST()
1050 iodev.min_buffer_level = 100; in TEST()
1551 iodev.min_buffer_level = 0; in TEST()
1615 iodev.min_buffer_level = 0; in TEST()
1929 iodev.min_buffer_level = 0; in TEST()
Da2dp_iodev_unittest.cc331 ASSERT_EQ(iodev->min_buffer_level, 400); in TEST_F()
Dcras_test_client.c568 (unsigned int)info->devs[i].min_buffer_level, in print_audio_debug_info()
Daudio_thread_unittest_obsolete.cc744 iodev_.min_buffer_level = cb_threshold_; in TEST_F()