Home
last modified time | relevance | path

Searched refs:CRAS_NUM_SHM_BUFFERS (Results 1 – 3 of 3) sorted by relevance

/external/adhd/cras/src/common/
Dcras_shm.h16 #define CRAS_NUM_SHM_BUFFERS 2U /* double buffer */ macro
17 #define CRAS_SHM_BUFFERS_MASK (CRAS_NUM_SHM_BUFFERS - 1)
53 uint32_t read_offset[CRAS_NUM_SHM_BUFFERS];
54 uint32_t write_offset[CRAS_NUM_SHM_BUFFERS];
55 int32_t write_in_progress[CRAS_NUM_SHM_BUFFERS];
78 assert_on_compile_is_power_of_2(CRAS_NUM_SHM_BUFFERS); in cras_shm_buff_for_idx()
191 assert_on_compile_is_power_of_2(CRAS_NUM_SHM_BUFFERS); in cras_shm_get_readable_frames()
212 for (i = 0; i < CRAS_NUM_SHM_BUFFERS; i++) { in cras_shm_get_bytes_queued()
323 assert_on_compile_is_power_of_2(CRAS_NUM_SHM_BUFFERS); in cras_shm_buffer_write_complete()
358 assert_on_compile_is_power_of_2(CRAS_NUM_SHM_BUFFERS); in cras_shm_buffer_read()
[all …]
/external/adhd/cras/src/server/
Dcras_rstream.c36 samples_size = used_size * CRAS_NUM_SHM_BUFFERS; in setup_shm()
/external/adhd/cras/src/tests/
Dshm_unittest.cc121 shm_.area->read_buf_idx = CRAS_NUM_SHM_BUFFERS - 1; in TEST_F()