Home
last modified time | relevance | path

Searched refs:CRAS_CH_MAX (Results 1 – 19 of 19) 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];
133 for (i = 0; i < CRAS_CH_MAX; i++) in cras_audio_format_set_default_channel_layout()
151 const int8_t layout[CRAS_CH_MAX]);
Dcras_types.h273 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] =
19 static int quad_channel_layout[CRAS_CH_MAX] =
293 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
404 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
481 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
879 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
922 for (i = 0; i < CRAS_CH_MAX; i++) in TEST()
974 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.c610 for (channel = 0; channel < CRAS_CH_MAX; channel++) in print_audio_debug_info()
718 int8_t channel_layout[CRAS_CH_MAX]) in parse_channel_layout() argument
724 while (chp && i < CRAS_CH_MAX) { in parse_channel_layout()
777 int8_t layout[CRAS_CH_MAX]; in run_file_io_stream()
Ddev_io_stubs.cc142 for (int i = 2; i < CRAS_CH_MAX; i++) in fill_audio_format()
Dcras_client_unittest.cc106 for (size_t i = 0; i < CRAS_CH_MAX; ++i) in set_audio_format()
Diodev_unittest.cc498 for (i = 0; i < CRAS_CH_MAX; i++) { in TEST_F()
526 for (i = 0; i < CRAS_CH_MAX; i++) { in TEST_F()
2399 const int8_t layout[CRAS_CH_MAX]) in cras_audio_format_set_channel_layout() argument
2403 for (i = 0; i < CRAS_CH_MAX; i++) in cras_audio_format_set_channel_layout()
Dalsa_ucm_unittest.cc433 int8_t channel_layout[CRAS_CH_MAX]; in TEST()
/external/adhd/cras/src/server/
Dcras_apm_list.c212 int8_t layout[CRAS_CH_MAX]; in get_best_channels()
224 for (ch = 0 ; ch < CRAS_CH_MAX; ch++) in get_best_channels()
235 for (ch = 0 ; ch < CRAS_CH_MAX; ch++) in get_best_channels()
545 for (ch = 0; ch < CRAS_CH_MAX; ch++) in cras_apm_list_process()
548 if (ch == CRAS_CH_MAX) in cras_apm_list_process()
Dcras_alsa_helpers.c85 for (ch = 0; ch < CRAS_CH_MAX; ch++) { in cras_chmap_caps_match()
107 for (ch = 0; ch < CRAS_CH_MAX; ch++) { in cras_chmap_caps_match()
169 for (i = 0; i < CRAS_CH_MAX; i++) in cras_chmap_caps_conv_matrix()
332 for (ch = 0; ch < CRAS_CH_MAX; ch++) in cras_alsa_set_channel_map()
335 if (ch != CRAS_CH_MAX) in cras_alsa_set_channel_map()
369 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.c392 for (ch = 0; ch < CRAS_CH_MAX; ch++) in is_channel_layout_equal()
458 int8_t layout[CRAS_CH_MAX]) in surround51_to_stereo_downmix_mtx() argument
583 for (i = 0; i < CRAS_CH_MAX; i++) in cras_fmt_conv_create()
Dcras_alsa_ucm.c770 for (i = 0; token && (i < CRAS_CH_MAX); i++) { in ucm_get_capture_chmap_for_dev()
777 return (i == CRAS_CH_MAX) ? 0 : -EINVAL; in ucm_get_capture_chmap_for_dev()
Dcras_alsa_io.c596 CRAS_CH_MAX * sizeof(*input->channel_layout)); in update_channel_layout()
1296 CRAS_CH_MAX * sizeof(*input->channel_layout)); in new_input()
Dcras_iodev.c432 for (i = 0; i < CRAS_CH_MAX; i++) in trim_channel_layout()