Searched refs:real_hw_level (Results 1 – 2 of 2) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_alsa_io.c | 1848 unsigned int real_hw_level, valid_sample, offset; in adjust_appl_ptr_samples_remaining() local 1858 real_hw_level = rc; in adjust_appl_ptr_samples_remaining() 1864 if (real_hw_level <= odev->min_buffer_level) in adjust_appl_ptr_samples_remaining() 1865 return cras_iodev_output_underrun(odev, real_hw_level, 0); in adjust_appl_ptr_samples_remaining() 1867 if (real_hw_level > aio->filled_zeros_for_draining) in adjust_appl_ptr_samples_remaining() 1868 valid_sample = real_hw_level - aio->filled_zeros_for_draining; in adjust_appl_ptr_samples_remaining() 1873 if (offset > real_hw_level) { in adjust_appl_ptr_samples_remaining() 1874 rc = cras_iodev_fill_odev_zeros(odev, offset - real_hw_level); in adjust_appl_ptr_samples_remaining() 1898 unsigned int real_hw_level, fr_to_write; in possibly_enter_free_run() local 1910 real_hw_level = rc; in possibly_enter_free_run() [all …]
|
/external/adhd/cras/src/tests/ |
D | alsa_io_unittest.cc | 2105 int rc, real_hw_level; in TEST_F() local 2110 real_hw_level = 200; in TEST_F() 2111 cras_alsa_get_avail_frames_avail = BUFFER_SIZE - real_hw_level; in TEST_F() 2129 int rc, real_hw_level; in TEST_F() local 2134 real_hw_level = 7000; in TEST_F() 2135 cras_alsa_get_avail_frames_avail = BUFFER_SIZE - real_hw_level; in TEST_F() 2149 int rc, real_hw_level; in TEST_F() local 2154 real_hw_level = 40; in TEST_F() 2155 cras_alsa_get_avail_frames_avail = BUFFER_SIZE - real_hw_level; in TEST_F() 2167 int rc, real_hw_level; in TEST_F() local [all …]
|