Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_fmt_conv.c105 if (layout[CRAS_CH_FL] != -1 && layout[CRAS_CH_FR] != -1) { in surround51_to_stereo_downmix_mtx()
107 mtx[STEREO_R][layout[CRAS_CH_FR]] = 1.0; in surround51_to_stereo_downmix_mtx()
138 if (layout[CRAS_CH_FL] != -1 && layout[CRAS_CH_FR] != -1) { in surround51_to_quad_downmix_mtx()
140 mtx[CRAS_CH_FR][layout[CRAS_CH_FR]] = 1.0; in surround51_to_quad_downmix_mtx()
153 mtx[CRAS_CH_FR][layout[CRAS_CH_FC]] = 0.707; in surround51_to_quad_downmix_mtx()
158 mtx[CRAS_CH_FR][layout[CRAS_CH_LFE]] = 0.5; in surround51_to_quad_downmix_mtx()
201 right = conv->out_fmt.channel_layout[CRAS_CH_FR]; in mono_to_51()
213 right = conv->out_fmt.channel_layout[CRAS_CH_FR]; in stereo_to_51()
225 fr = conv->out_fmt.channel_layout[CRAS_CH_FR]; in quad_to_51()
250 front_right = conv->out_fmt.channel_layout[CRAS_CH_FR]; in stereo_to_quad()
[all …]
Dcras_audio_area.c80 channel_area_set_channel(area->channels, CRAS_CH_FR); in cras_audio_area_config_channels()
Dcras_apm_list.c258 if (apm_fmt->channel_layout[CRAS_CH_FR] != -1) in get_best_channels()
259 layout[CRAS_CH_FR] = apm_fmt->num_channels++; in get_best_channels()
/external/adhd/cras/src/common/
Dcras_audio_format.h56 CRAS_CH_FR, enumerator
/external/adhd/cras/src/tests/
Dfmt_conv_unittest.cc420 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_FL, CRAS_CH_FR); in TEST()
433 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_FR, CRAS_CH_FC); in TEST()
447 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_LFE, CRAS_CH_FR); in TEST()
506 in_buff[i * 6 + CRAS_CH_FR] = in_fr; in TEST()
529 EXPECT_EQ(fr, out_buff[i * 4 + CRAS_CH_FR]); in TEST()
596 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_FL, CRAS_CH_FR); in TEST()
611 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_FR, CRAS_CH_RR); in TEST()
1135 right = surround_channel_left_right_layout[CRAS_CH_FR]; in TEST()
1262 swap_channel_layout(out_fmt.channel_layout, CRAS_CH_RL, CRAS_CH_FR); in TEST()
Dewma_power_unittest.cc105 layout[CRAS_CH_FR] = 2; in TEST()
Daudio_thread_unittest_obsolete.cc102 channel_area_set_channel(&mock_audio_area1->channels[1], CRAS_CH_FR); in SetUp()
108 channel_area_set_channel(&mock_audio_area2->channels[1], CRAS_CH_FR); in SetUp()
173 channel_area_set_channel(&area_->channels[1], CRAS_CH_FR); in get_buffer()
592 channel_area_set_channel(&area_->channels[1], CRAS_CH_FR); in get_buffer()
1143 channel_area_set_channel(&area_->channels[1], CRAS_CH_FR); in get_buffer()
1451 channel_area_set_channel(&mock_audio_area1->channels[1], CRAS_CH_FR); in SetUp()
1457 channel_area_set_channel(&mock_audio_area2->channels[1], CRAS_CH_FR); in SetUp()
1551 channel_area_set_channel(&area_->channels[1], CRAS_CH_FR); in get_buffer()
Dapm_list_unittest.cc233 fmt.channel_layout[CRAS_CH_FR] = 1; in TEST()
Ddev_stream_unittest.cc166 channel_area_set_channel(&area->channels[1], CRAS_CH_FR); in SetUp()
Daudio_thread_unittest.cc221 channel_area_set_channel(&area_->channels[1], CRAS_CH_FR); in get_buffer()
Diodev_unittest.cc502 channel_area_set_channel(&audio_area->channels[1], CRAS_CH_FR); in get_buffer()
/external/adhd/cras/client/cras-sys/src/
Dlib.rs145 CRAS_CH_FR,
478 1 => Ok(CRAS_CH_FR), in try_from()
Dgen.rs474 CRAS_CH_FR = 1, enumerator