Home
last modified time | relevance | path

Searched refs:cras_audio_shm (Results 1 – 13 of 13) sorted by relevance

/external/adhd/cras/src/common/
Dcras_shm.h69 struct cras_audio_shm { struct
75 static inline uint8_t *cras_shm_buff_for_idx(const struct cras_audio_shm *shm, in cras_shm_buff_for_idx()
85 unsigned cras_shm_check_read_offset(const struct cras_audio_shm *shm, in cras_shm_check_read_offset()
98 unsigned cras_shm_check_write_offset(const struct cras_audio_shm *shm, in cras_shm_check_write_offset()
111 unsigned cras_shm_get_curr_read_frames(const struct cras_audio_shm *shm) in cras_shm_get_curr_read_frames()
129 uint8_t *cras_shm_get_read_buffer_base(const struct cras_audio_shm *shm) in cras_shm_get_read_buffer_base()
137 uint8_t *cras_shm_get_write_buffer_base(const struct cras_audio_shm *shm) in cras_shm_get_write_buffer_base()
146 uint8_t *cras_shm_get_writeable_frames(const struct cras_audio_shm *shm, in cras_shm_get_writeable_frames()
173 uint8_t *cras_shm_get_readable_frames(const struct cras_audio_shm *shm, in cras_shm_get_readable_frames()
206 static inline size_t cras_shm_get_bytes_queued(const struct cras_audio_shm *shm) in cras_shm_get_bytes_queued()
[all …]
/external/adhd/cras/src/server/
Dcras_rstream.h82 struct cras_audio_shm shm;
243 struct cras_audio_shm *cras_rstream_input_shm(struct cras_rstream *stream) in cras_rstream_input_shm()
250 struct cras_audio_shm *cras_rstream_output_shm(struct cras_rstream *stream) in cras_rstream_output_shm()
310 const struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_level()
316 const struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_input_level_met()
Dcras_rstream.c24 struct cras_audio_shm *shm, in setup_shm()
418 struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_update_input_write_pointer()
427 struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_update_output_read_pointer()
442 const struct cras_audio_shm *shm = cras_rstream_output_shm(rstream); in cras_rstream_update_queued_frames()
456 const struct cras_audio_shm *shm = cras_rstream_output_shm(rstream); in cras_rstream_get_volume_scaler()
Ddev_stream.c302 struct cras_audio_shm *shm; in capture_copy_converted_to_stream()
375 struct cras_audio_shm *shm; in dev_stream_capture()
465 struct cras_audio_shm *shm; in dev_stream_capture_avail()
625 struct cras_audio_shm *shm; in dev_stream_set_delay()
651 struct cras_audio_shm *shm; in dev_stream_can_fetch()
Dcras_mix.h9 struct cras_audio_shm;
Ddev_io.c115 struct cras_audio_shm *shm = in fetch_streams()
224 struct cras_audio_shm *shm; in get_stream_limit()
Daudio_thread.c469 struct cras_audio_shm *shm; in thread_drain_stream_ms_remaining()
/external/adhd/cras/src/tests/
Drstream_unittest.cc125 struct cras_audio_shm *shm_ret; in TEST_F()
126 struct cras_audio_shm shm_mapped; in TEST_F()
161 struct cras_audio_shm *shm_ret; in TEST_F()
162 struct cras_audio_shm shm_mapped; in TEST_F()
Daudio_thread_unittest_obsolete.cc131 struct cras_audio_shm *shm; in SetupRstream()
223 struct cras_audio_shm *shm_;
224 struct cras_audio_shm *shm2_;
559 struct cras_audio_shm *shm; in SetupRstream()
658 struct cras_audio_shm* shm_;
659 struct cras_audio_shm* shm2_;
1196 cras_audio_shm *shm; in add_rm_two_streams()
1306 cras_audio_shm *shm; in TEST_F()
1352 cras_audio_shm *shm; in TEST_F()
1385 cras_audio_shm *shm; in TEST_F()
[all …]
Dcras_client_unittest.cc52 void InitShm(struct cras_audio_shm* shm) { in InitShm()
60 void FreeShm(struct cras_audio_shm* shm) { in FreeShm()
123 struct cras_audio_shm *shm = &stream_.capture_shm; in TEST_F()
Dshm_unittest.cc33 struct cras_audio_shm shm_;
Ddev_stream_unittest.cc181 void SetupShm(struct cras_audio_shm *shm) { in SetupShm()
/external/adhd/cras/src/libcras/
Dcras_client.c161 struct cras_audio_shm capture_shm;
163 struct cras_audio_shm play_shm;
1175 struct cras_audio_shm *shm = &stream->play_shm; in handle_playback_request()
1404 static int config_shm(struct cras_audio_shm *shm, int shm_fd, size_t size) in config_shm()