Home
last modified time | relevance | path

Searched refs:CRAS_STREAM_DIRECTION (Results 1 – 25 of 80) sorted by relevance

1234

/external/adhd/cras/src/server/
Dcras_hfp_info.h58 int hfp_buf_queued(struct hfp_info *info, enum CRAS_STREAM_DIRECTION direction);
83 int hfp_buf_size(struct hfp_info *info, enum CRAS_STREAM_DIRECTION direction);
95 enum CRAS_STREAM_DIRECTION direction, uint8_t **buf,
106 enum CRAS_STREAM_DIRECTION direction,
114 enum CRAS_STREAM_DIRECTION direction,
122 enum CRAS_STREAM_DIRECTION direction);
Dcras_iodev_list.h92 cras_iodev_list_get_first_enabled_iodev(enum CRAS_STREAM_DIRECTION direction);
101 cras_iodev_list_get_sco_pcm_iodev(enum CRAS_STREAM_DIRECTION direction);
110 cras_iodev_list_get_active_node_id(enum CRAS_STREAM_DIRECTION direction);
138 enum CRAS_STREAM_DIRECTION direction);
156 void cras_iodev_list_select_node(enum CRAS_STREAM_DIRECTION direction,
201 void cras_iodev_list_add_active_node(enum CRAS_STREAM_DIRECTION direction,
209 void cras_iodev_list_rm_active_node(enum CRAS_STREAM_DIRECTION direction,
Dcras_alsa_ucm.h145 enum CRAS_STREAM_DIRECTION direction);
157 enum CRAS_STREAM_DIRECTION dir);
245 enum CRAS_STREAM_DIRECTION direction);
270 enum CRAS_STREAM_DIRECTION direction);
283 enum CRAS_STREAM_DIRECTION direction,
424 struct cras_use_case_mgr *mgr, enum CRAS_STREAM_DIRECTION direction,
Dcras_alsa_mixer_name.h25 enum CRAS_STREAM_DIRECTION dir;
43 enum CRAS_STREAM_DIRECTION dir,
62 enum CRAS_STREAM_DIRECTION dir,
87 enum CRAS_STREAM_DIRECTION dir,
Dcras_alsa_mixer_name.c14 enum CRAS_STREAM_DIRECTION dir, in mixer_name_add()
41 enum CRAS_STREAM_DIRECTION dir, in mixer_name_add_array()
61 enum CRAS_STREAM_DIRECTION dir, in mixer_name_find()
84 static const char *mixer_name_type_str(enum CRAS_STREAM_DIRECTION dir, in mixer_name_type_str()
Dcras_system_state.h249 void cras_system_state_stream_added(enum CRAS_STREAM_DIRECTION direction,
259 void cras_system_state_stream_removed(enum CRAS_STREAM_DIRECTION direction,
270 enum CRAS_STREAM_DIRECTION direction);
Dcras_alsa_ucm_section.h27 enum CRAS_STREAM_DIRECTION dir;
58 enum CRAS_STREAM_DIRECTION dir,
Dcras_server_metrics.h61 enum CRAS_STREAM_DIRECTION direction);
65 enum CRAS_STREAM_DIRECTION direction);
Dcras_rstream_config.h42 enum CRAS_STREAM_DIRECTION direction;
68 enum CRAS_STREAM_DIRECTION direction, uint32_t dev_idx, uint32_t flags,
Dcras_observer.h74 void cras_observer_notify_active_node(enum CRAS_STREAM_DIRECTION dir,
92 void cras_observer_notify_num_active_streams(enum CRAS_STREAM_DIRECTION dir,
Dcras_alsa_ucm.c260 enum CRAS_STREAM_DIRECTION direction) in ucm_get_sections_for_var()
306 const char *value, enum CRAS_STREAM_DIRECTION dir) in ucm_get_devices_for_var()
361 enum CRAS_STREAM_DIRECTION dir, in ucm_get_mixer_names()
615 enum CRAS_STREAM_DIRECTION direction) in ucm_get_dev_for_jack()
647 enum CRAS_STREAM_DIRECTION dir) in ucm_get_dev_for_mixer()
749 enum CRAS_STREAM_DIRECTION direction) in ucm_get_alsa_dev_idx_for_dev()
774 enum CRAS_STREAM_DIRECTION direction) in ucm_get_sample_rate_for_dev()
795 enum CRAS_STREAM_DIRECTION direction, in ucm_get_channels_for_dev()
866 enum CRAS_STREAM_DIRECTION *dir) in ucm_get_dir_for_device()
891 enum CRAS_STREAM_DIRECTION dir; in ucm_parse_device_section()
[all …]
Dcras_iodev_list.c602 static void possibly_disable_fallback(enum CRAS_STREAM_DIRECTION dir) in possibly_disable_fallback()
618 static void possibly_enable_fallback(enum CRAS_STREAM_DIRECTION dir, bool error) in possibly_enable_fallback()
665 enum CRAS_STREAM_DIRECTION dir = dev->direction; in init_and_attach_streams()
920 static int possibly_close_enabled_devs(enum CRAS_STREAM_DIRECTION dir) in possibly_close_enabled_devs()
966 enum CRAS_STREAM_DIRECTION direction = rstream->direction; in stream_removed_cb()
987 enum CRAS_STREAM_DIRECTION dir = dev->direction; in enable_device()
1017 enum CRAS_STREAM_DIRECTION dir = dev->direction; in disable_device()
1141 void cras_iodev_list_add_active_node(enum CRAS_STREAM_DIRECTION dir, in cras_iodev_list_add_active_node()
1252 void cras_iodev_list_rm_active_node(enum CRAS_STREAM_DIRECTION dir, in cras_iodev_list_rm_active_node()
1335 cras_iodev_list_get_first_enabled_iodev(enum CRAS_STREAM_DIRECTION direction) in cras_iodev_list_get_first_enabled_iodev()
[all …]
Dcras_alsa_mixer.c61 enum CRAS_STREAM_DIRECTION dir;
132 enum CRAS_STREAM_DIRECTION dir) in mixer_control_element_create()
245 enum CRAS_STREAM_DIRECTION dir) in mixer_control_create()
309 enum CRAS_STREAM_DIRECTION dir) in mixer_control_create_by_name()
516 enum CRAS_STREAM_DIRECTION dir, in add_control_with_name()
543 enum CRAS_STREAM_DIRECTION dir, snd_mixer_elem_t *elem) in add_control()
572 enum CRAS_STREAM_DIRECTION dir, in add_control_with_coupled_mixers()
599 enum CRAS_STREAM_DIRECTION dir, const char *name) in add_control_by_name()
1102 enum CRAS_STREAM_DIRECTION dir, in cras_alsa_mixer_get_control_matching_name()
/external/adhd/cras/client/cras-sys/src/
Dlib.rs25 CRAS_NODE_TYPE, CRAS_STREAM_DIRECTION, CRAS_STREAM_EFFECT, CRAS_STREAM_TYPE,
101 direction: CRAS_STREAM_DIRECTION, in new() argument
136 direction: CRAS_STREAM_DIRECTION, in default_channel_layout() argument
138 use {CRAS_CHANNEL::*, CRAS_STREAM_DIRECTION::*};
296 impl From<u32> for CRAS_STREAM_DIRECTION { implementation
297 fn from(node_type: u32) -> CRAS_STREAM_DIRECTION { in from() argument
298 use CRAS_STREAM_DIRECTION::*; in from()
345 pub direction: CRAS_STREAM_DIRECTION,
365 direction: CRAS_STREAM_DIRECTION::from(u32::from(info.direction)), in from()
499 pub direction: CRAS_STREAM_DIRECTION,
[all …]
/external/adhd/cras/src/tests/
Ddev_io_stubs.h59 CRAS_STREAM_DIRECTION direction,
66 CRAS_STREAM_DIRECTION direction,
72 IodevPtr create_open_iodev(CRAS_STREAM_DIRECTION direction,
76 DevicePtr create_device(CRAS_STREAM_DIRECTION direction,
Dhfp_iodev_unittest.cc294 enum CRAS_STREAM_DIRECTION direction, in hfp_info_add_iodev()
301 enum CRAS_STREAM_DIRECTION direction) { in hfp_info_rm_iodev()
327 const enum CRAS_STREAM_DIRECTION direction) { in hfp_buf_queued()
331 int hfp_buf_size(struct hfp_info* info, enum CRAS_STREAM_DIRECTION direction) { in hfp_buf_size()
336 enum CRAS_STREAM_DIRECTION direction, in hfp_buf_acquire()
344 enum CRAS_STREAM_DIRECTION direction, in hfp_buf_release()
Dalsa_jack_unittest.cc196 CRAS_STREAM_DIRECTION direction, in run_test_with_elem_list()
240 CRAS_STREAM_DIRECTION direction, in run_test_with_section()
381 enum CRAS_STREAM_DIRECTION direction, in run_gpio_jack_test()
414 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
430 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_INPUT; in TEST()
446 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
462 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
478 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
494 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
510 enum CRAS_STREAM_DIRECTION direction = CRAS_STREAM_OUTPUT; in TEST()
[all …]
Dmetrics_stub.cc16 enum CRAS_STREAM_DIRECTION direction) { in cras_server_metrics_highest_device_delay()
21 enum CRAS_STREAM_DIRECTION direction) { in cras_server_metrics_highest_hw_level()
Ddev_io_stubs.cc50 CRAS_STREAM_DIRECTION direction, in create_rstream()
80 CRAS_STREAM_DIRECTION direction, in create_stream()
112 IodevPtr create_open_iodev(CRAS_STREAM_DIRECTION direction, in create_open_iodev()
132 DevicePtr create_device(CRAS_STREAM_DIRECTION direction, in create_device()
Dhfp_ag_profile_unittest.cc129 enum CRAS_STREAM_DIRECTION direction) { in cras_iodev_list_get_sco_pcm_iodev()
140 struct cras_iodev* hfp_alsa_iodev_create(enum CRAS_STREAM_DIRECTION dir, in hfp_alsa_iodev_create()
152 struct cras_iodev* hfp_iodev_create(enum CRAS_STREAM_DIRECTION dir, in hfp_iodev_create()
/external/adhd/cras/src/libcras/
Dcras_client.h424 enum CRAS_STREAM_DIRECTION direction,
436 enum CRAS_STREAM_DIRECTION direction,
448 enum CRAS_STREAM_DIRECTION direction,
573 enum CRAS_STREAM_DIRECTION direction, size_t buffer_frames,
618 enum CRAS_STREAM_DIRECTION direction, unsigned int block_size,
1019 enum CRAS_STREAM_DIRECTION direction,
1036 enum CRAS_STREAM_DIRECTION direction);
1224 void *context, enum CRAS_STREAM_DIRECTION direction,
1268 void *context, enum CRAS_STREAM_DIRECTION direction,
1373 enum CRAS_STREAM_DIRECTION direction,
[all …]
/external/adhd/cras/src/common/
Dcras_types.h73 enum CRAS_STREAM_DIRECTION { enum
92 cras_stream_direction_mask(const enum CRAS_STREAM_DIRECTION dir) in cras_stream_direction_mask()
129 static inline int cras_stream_uses_output_hw(enum CRAS_STREAM_DIRECTION dir) in cras_stream_uses_output_hw()
134 static inline int cras_stream_uses_input_hw(enum CRAS_STREAM_DIRECTION dir) in cras_stream_uses_input_hw()
139 static inline int cras_stream_has_input(enum CRAS_STREAM_DIRECTION dir) in cras_stream_has_input()
144 static inline int cras_stream_is_loopback(enum CRAS_STREAM_DIRECTION dir) in cras_stream_is_loopback()
Dcras_messages.h107 enum CRAS_STREAM_DIRECTION direction; /* input/output/loopback */
124 struct cras_connect_message *m, enum CRAS_STREAM_DIRECTION direction, in cras_fill_connect_message()
245 enum CRAS_STREAM_DIRECTION direction;
249 enum CRAS_STREAM_DIRECTION direction, in cras_fill_select_node()
261 enum CRAS_STREAM_DIRECTION direction;
266 enum CRAS_STREAM_DIRECTION direction, in cras_fill_add_active_node()
278 enum CRAS_STREAM_DIRECTION direction;
283 enum CRAS_STREAM_DIRECTION direction, in cras_fill_rm_active_node()
683 enum CRAS_STREAM_DIRECTION direction, in cras_fill_client_active_node_changed()
732 enum CRAS_STREAM_DIRECTION direction, uint32_t num_active_streams) in cras_fill_client_num_active_streams_changed()
Dcras_observer_ops.h31 enum CRAS_STREAM_DIRECTION dir,
48 enum CRAS_STREAM_DIRECTION dir,
/external/adhd/cras/src/tools/cras_monitor/
Dcras_monitor.c45 static const char *string_for_direction(enum CRAS_STREAM_DIRECTION dir) in string_for_direction()
77 enum CRAS_STREAM_DIRECTION dir, in node_name_for_node_id()
125 static void active_node_changed(void *context, enum CRAS_STREAM_DIRECTION dir, in active_node_changed()
165 enum CRAS_STREAM_DIRECTION dir, in num_active_streams_changed()

1234