Home
last modified time | relevance | path

Searched refs:CRAS_CH_MAX (Results 1 – 17 of 17) sorted by relevance

/external/adhd/cras/src/common/
Dcras_audio_format.c17 static const int channel_alt[CRAS_CH_MAX][CRAS_CH_MAX] =
52 for (i = 0; i < CRAS_CH_MAX; i++) in cras_audio_format_create()
59 const int8_t layout[CRAS_CH_MAX]) in cras_audio_format_set_channel_layout() argument
66 for (i = 0; i < CRAS_CH_MAX; i++) in cras_audio_format_set_channel_layout()
70 for (i = 0; i < CRAS_CH_MAX; i++) in cras_audio_format_set_channel_layout()
116 for (i = 0; i < CRAS_CH_MAX; i++) { in cras_channel_conv_matrix_create()
131 for (i = 0; i < CRAS_CH_MAX; i++) { in cras_channel_conv_matrix_create()
144 for (alt = 0; alt <= CRAS_CH_MAX; alt++) { in cras_channel_conv_matrix_create()
145 if (alt == CRAS_CH_MAX) in cras_channel_conv_matrix_create()
Dcras_audio_format.h68 CRAS_CH_MAX, enumerator
84 int8_t channel_layout[CRAS_CH_MAX];
95 int8_t channel_layout[CRAS_CH_MAX];
141 const int8_t layout[CRAS_CH_MAX]);
Dcras_types.h252 int8_t channel_layout[CRAS_CH_MAX];
/external/adhd/cras/src/tests/
Daudio_area_unittest.cc13 static const int8_t stereo[CRAS_CH_MAX] = {
16 static const int8_t mono[CRAS_CH_MAX] = {
19 static const int8_t kb_mic[CRAS_CH_MAX] = {
36 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
67 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
103 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
136 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
174 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
183 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
209 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
[all …]
Dfmt_conv_unittest.cc13 static int mono_channel_layout[CRAS_CH_MAX] =
15 static int stereo_channel_layout[CRAS_CH_MAX] =
17 static int surround_channel_layout[CRAS_CH_MAX] =
237 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
703 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
746 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
798 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
850 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
893 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
937 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
[all …]
Dalsa_helpers_unittest.cc50 int8_t channel_layout[CRAS_CH_MAX] = in TEST()
103 int8_t channel_layout[CRAS_CH_MAX] = in TEST()
Daudio_format_unittest.cc20 for (i = 0; i < CRAS_CH_MAX; i++) { in SetUp()
Dcras_test_client.c616 for (channel = 0; channel < CRAS_CH_MAX; channel++) in audio_debug_info()
658 int8_t channel_layout[CRAS_CH_MAX]) in parse_channel_layout() argument
664 while (chp && i < CRAS_CH_MAX) { in parse_channel_layout()
695 int8_t layout[CRAS_CH_MAX]; in run_file_io_stream()
Dcras_client_unittest.cc106 for (size_t i = 0; i < CRAS_CH_MAX; ++i) in set_audio_format()
Diodev_unittest.cc484 for (i = 0; i < CRAS_CH_MAX; i++) in TEST_F()
511 for (i = 0; i < CRAS_CH_MAX; i++) in TEST_F()
2168 const int8_t layout[CRAS_CH_MAX]) in cras_audio_format_set_channel_layout() argument
2172 for (i = 0; i < CRAS_CH_MAX; i++) in cras_audio_format_set_channel_layout()
Dalsa_ucm_unittest.cc431 int8_t channel_layout[CRAS_CH_MAX]; in TEST()
/external/adhd/cras/src/server/
Dcras_alsa_helpers.c84 for (ch = 0; ch < CRAS_CH_MAX; ch++) { in cras_chmap_caps_match()
106 for (ch = 0; ch < CRAS_CH_MAX; ch++) { in cras_chmap_caps_match()
168 for (i = 0; i < CRAS_CH_MAX; i++) in cras_chmap_caps_conv_matrix()
334 for (ch = 0; ch < CRAS_CH_MAX; ch++) in cras_alsa_set_channel_map()
337 if (ch != CRAS_CH_MAX) in cras_alsa_set_channel_map()
371 for (i = 0; i < CRAS_CH_MAX; i++) in cras_alsa_get_channel_map()
Dcras_audio_area.c87 for (ch = 0; ch < CRAS_CH_MAX; ch++) in cras_audio_area_config_channels()
Dcras_fmt_conv.c320 for (ch = 0; ch < CRAS_CH_MAX; ch++) in is_channel_layout_equal()
386 int8_t layout[CRAS_CH_MAX]) in surround51_to_stereo_downmix_mtx() argument
507 for (i = 0; i < CRAS_CH_MAX; i++) in cras_fmt_conv_create()
Dcras_alsa_ucm.c713 for (i = 0; token && (i < CRAS_CH_MAX); i++) { in ucm_get_capture_chmap_for_dev()
720 return (i == CRAS_CH_MAX) ? 0 : -EINVAL; in ucm_get_capture_chmap_for_dev()
Dcras_iodev.c330 int8_t default_layout[CRAS_CH_MAX]; in set_default_channel_layout()
333 for (i = 0; i < CRAS_CH_MAX; i++) in set_default_channel_layout()
Dcras_alsa_io.c568 CRAS_CH_MAX * sizeof(*input->channel_layout)); in update_channel_layout()
1244 CRAS_CH_MAX * sizeof(*input->channel_layout)); in new_input()