Searched refs:buffer_share (Results 1 – 14 of 14) sorted by relevance
/external/adhd/cras/src/server/ |
D | buffer_share.h | 18 struct buffer_share { struct 28 struct buffer_share *buffer_share_create(unsigned int buf_sz); argument 31 void buffer_share_destroy(struct buffer_share *mix); 34 int buffer_share_add_id(struct buffer_share *mix, unsigned int id, void *data); 37 int buffer_share_rm_id(struct buffer_share *mix, unsigned int id); 40 int buffer_share_offset_update(struct buffer_share *mix, unsigned int id, 47 unsigned int buffer_share_get_new_write_point(struct buffer_share *mix); 53 unsigned int buffer_share_id_offset(const struct buffer_share *mix, 59 void *buffer_share_get_data(const struct buffer_share *mix,
|
D | buffer_share.c | 12 static inline struct id_offset *find_unused(const struct buffer_share *mix) in find_unused() 25 static inline struct id_offset *find_id(const struct buffer_share *mix, in find_id() 38 static void alloc_more_ids(struct buffer_share *mix) in alloc_more_ids() 51 struct buffer_share *buffer_share_create(unsigned int buf_sz) in buffer_share_create() 53 struct buffer_share *mix; in buffer_share_create() 63 void buffer_share_destroy(struct buffer_share *mix) in buffer_share_destroy() 71 int buffer_share_add_id(struct buffer_share *mix, unsigned int id, void *data) in buffer_share_add_id() 92 int buffer_share_rm_id(struct buffer_share *mix, unsigned int id) in buffer_share_rm_id() 105 int buffer_share_offset_update(struct buffer_share *mix, unsigned int id, in buffer_share_offset_update() 121 unsigned int buffer_share_get_new_write_point(struct buffer_share *mix) in buffer_share_get_new_write_point() [all …]
|
D | input_data.h | 61 struct buffer_share *offsets, 76 struct buffer_share *offsets,
|
D | input_data.c | 92 struct buffer_share *offsets, in input_data_get_for_stream() 127 struct buffer_share *offsets, in input_data_put_for_stream()
|
D | cras_iodev.h | 21 struct buffer_share; 248 struct buffer_share *buf_state;
|
D | audio_thread.h | 16 struct buffer_share;
|
D | cras_rstream.h | 89 struct buffer_share *buf_state;
|
/external/adhd/cras/src/tests/ |
D | buffer_share_unittest.cc | 26 buffer_share *dm = buffer_share_create(1024); in TEST_F() 27 EXPECT_NE(static_cast<buffer_share *>(NULL), dm); in TEST_F() 32 buffer_share *dm = buffer_share_create(1024); in TEST_F() 49 buffer_share *dm = buffer_share_create(1024); in TEST_F() 64 buffer_share *dm = buffer_share_create(1024); in TEST_F() 86 buffer_share *dm = buffer_share_create(1024); in TEST_F()
|
D | rstream_unittest.cc | 361 struct buffer_share *buffer_share_create(unsigned int buf_sz) { in buffer_share_create() 365 void buffer_share_destroy(struct buffer_share *mix) { in buffer_share_destroy() 368 int buffer_share_offset_update(struct buffer_share *mix, unsigned int id, in buffer_share_offset_update() 373 unsigned int buffer_share_get_new_write_point(struct buffer_share *mix) { in buffer_share_get_new_write_point() 377 int buffer_share_add_id(struct buffer_share *mix, unsigned int id) { in buffer_share_add_id() 381 int buffer_share_rm_id(struct buffer_share *mix, unsigned int id) { in buffer_share_rm_id() 385 unsigned int buffer_share_id_offset(const struct buffer_share *mix, in buffer_share_id_offset()
|
D | dev_io_unittest.cc | 92 struct buffer_share *offsets, in input_data_get_for_stream() 101 struct buffer_share *offsets, in input_data_put_for_stream()
|
D | timing_unittest.cc | 433 struct buffer_share *offsets, in input_data_get_for_stream() 442 struct buffer_share *offsets, in input_data_put_for_stream()
|
D | iodev_unittest.cc | 2204 struct buffer_share *buffer_share_create(unsigned int buf_sz) { in buffer_share_create() 2208 void buffer_share_destroy(struct buffer_share *mix) in buffer_share_destroy() 2212 int buffer_share_offset_update(struct buffer_share *mix, unsigned int id, in buffer_share_offset_update() 2217 unsigned int buffer_share_get_new_write_point(struct buffer_share *mix) { in buffer_share_get_new_write_point() 2221 int buffer_share_add_id(struct buffer_share *mix, unsigned int id) { in buffer_share_add_id() 2226 int buffer_share_rm_id(struct buffer_share *mix, unsigned int id) { in buffer_share_rm_id() 2230 unsigned int buffer_share_id_offset(const struct buffer_share *mix, in buffer_share_id_offset()
|
D | audio_thread_unittest.cc | 1171 struct buffer_share *offsets, in input_data_get_for_stream() 1180 struct buffer_share *offsets, in input_data_put_for_stream()
|
/external/adhd/cras/src/ |
D | Makefile.am | 750 server/buffer_share.c
|