Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_alsa_io.c161 unsigned int filled_zeros_for_draining; member
367 aio->filled_zeros_for_draining = 0; in close_dev()
443 aio->filled_zeros_for_draining = 0; in configure_dev()
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()
1921 if (real_hw_level <= aio->filled_zeros_for_draining || in possibly_enter_free_run()
1937 aio->filled_zeros_for_draining += fr_to_write; in possibly_enter_free_run()
1961 aio->filled_zeros_for_draining = 0; in leave_free_run()
2032 if (real_hw_level > aio->filled_zeros_for_draining) in get_valid_frames()
2033 return real_hw_level - aio->filled_zeros_for_draining; in get_valid_frames()
[all …]
/external/adhd/cras/src/tests/
Dalsa_io_unittest.cc393 aio->filled_zeros_for_draining = 512; in TEST()
403 EXPECT_EQ(0, aio->filled_zeros_for_draining); in TEST()
2064 aio.filled_zeros_for_draining = 0; in SetUp()
2124 aio.filled_zeros_for_draining); in TEST_F()
2144 EXPECT_EQ(cras_alsa_get_avail_frames_avail, aio.filled_zeros_for_draining); in TEST_F()
2156 aio.filled_zeros_for_draining = 100; in TEST_F()
2197 aio.filled_zeros_for_draining = 100; in TEST_F()
2209 EXPECT_EQ(0, aio.filled_zeros_for_draining); in TEST_F()
2221 aio.filled_zeros_for_draining = 500; in TEST_F()
2234 EXPECT_EQ(0, aio.filled_zeros_for_draining); in TEST_F()
[all …]