Home
last modified time | relevance | path

Searched refs:real_hw_level (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/server/
Dcras_alsa_io.c1757 unsigned int real_hw_level, valid_sample, offset; in adjust_appl_ptr_samples_remaining() local
1767 real_hw_level = rc; in adjust_appl_ptr_samples_remaining()
1773 if (real_hw_level < odev->min_buffer_level) in adjust_appl_ptr_samples_remaining()
1776 if (real_hw_level > aio->filled_zeros_for_draining) in adjust_appl_ptr_samples_remaining()
1777 valid_sample = real_hw_level - aio->filled_zeros_for_draining; in adjust_appl_ptr_samples_remaining()
1782 if (offset > real_hw_level) { in adjust_appl_ptr_samples_remaining()
1783 rc = cras_iodev_fill_odev_zeros(odev, offset - real_hw_level); in adjust_appl_ptr_samples_remaining()
1811 unsigned int real_hw_level, fr_to_write; in possibly_enter_free_run() local
1824 real_hw_level = rc; in possibly_enter_free_run()
1827 if (real_hw_level < odev->min_buffer_level) { in possibly_enter_free_run()
[all …]
/external/adhd/cras/src/tests/
Dalsa_io_unittest.cc2060 int rc, real_hw_level; in TEST_F() local
2066 real_hw_level = 200; in TEST_F()
2067 cras_alsa_get_avail_frames_avail = BUFFER_SIZE - real_hw_level; in TEST_F()
2083 int rc, real_hw_level; in TEST_F() local
2088 real_hw_level = 500; in TEST_F()
2089 cras_alsa_get_avail_frames_avail = BUFFER_SIZE - real_hw_level; in TEST_F()
2100 int rc, real_hw_level; in TEST_F() local
2105 real_hw_level = 40; in TEST_F()
2106 cras_alsa_get_avail_frames_avail = BUFFER_SIZE - real_hw_level; in TEST_F()
2118 int rc, real_hw_level; in TEST_F() local
[all …]