Home
last modified time | relevance | path

Searched refs:cras_audio_shm (Results 1 – 12 of 12) 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()
167 uint8_t *cras_shm_get_readable_frames(const struct cras_audio_shm *shm, in cras_shm_get_readable_frames()
200 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.h79 struct cras_audio_shm shm;
229 struct cras_audio_shm *cras_rstream_input_shm(struct cras_rstream *stream) in cras_rstream_input_shm()
236 struct cras_audio_shm *cras_rstream_output_shm(struct cras_rstream *stream) in cras_rstream_output_shm()
286 const struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_level()
292 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()
314 struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_update_input_write_pointer()
323 struct cras_audio_shm *shm = cras_rstream_input_shm(rstream); in cras_rstream_update_output_read_pointer()
338 const struct cras_audio_shm *shm = cras_rstream_output_shm(rstream); in cras_rstream_update_queued_frames()
352 const struct cras_audio_shm *shm = cras_rstream_output_shm(rstream); in cras_rstream_get_volume_scaler()
Ddev_stream.c267 struct cras_audio_shm *shm; in capture_copy_converted_to_stream()
340 struct cras_audio_shm *shm; in dev_stream_capture()
426 struct cras_audio_shm *shm; in dev_stream_capture_avail()
580 struct cras_audio_shm *shm; in dev_stream_set_delay()
606 struct cras_audio_shm *shm; in dev_stream_can_fetch()
Dcras_mix.h9 struct cras_audio_shm;
Daudio_thread.c496 struct cras_audio_shm *shm; in thread_drain_stream_ms_remaining()
551 static void flush_old_aud_messages(struct cras_audio_shm *shm, int fd) in flush_old_aud_messages()
591 struct cras_audio_shm *shm = in fetch_streams()
1286 struct cras_audio_shm *shm; in get_stream_limit_set_delay()
/external/adhd/cras/src/tests/
Drstream_unittest.cc95 struct cras_audio_shm *shm_ret; in TEST_F()
96 struct cras_audio_shm shm_mapped; in TEST_F()
131 struct cras_audio_shm *shm_ret; in TEST_F()
132 struct cras_audio_shm shm_mapped; in TEST_F()
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()
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 …]
Dshm_unittest.cc33 struct cras_audio_shm shm_;
Ddev_stream_unittest.cc138 void SetupShm(struct cras_audio_shm *shm) { in SetupShm()
/external/adhd/cras/src/libcras/
Dcras_client.c158 struct cras_audio_shm capture_shm;
160 struct cras_audio_shm play_shm;
1134 struct cras_audio_shm *shm = &stream->play_shm; in handle_playback_request()
1363 static int config_shm(struct cras_audio_shm *shm, int shm_fd, size_t size) in config_shm()