Home
last modified time | relevance | path

Searched refs:CRAS_CH_RR (Results 1 – 5 of 5) sorted by relevance

/external/adhd/cras/src/server/
Dcras_fmt_conv.c113 if (layout[CRAS_CH_RL] != -1 && layout[CRAS_CH_RR] != -1) { in surround51_to_stereo_downmix_mtx()
117 mtx[STEREO_R][layout[CRAS_CH_RR]] = 0.866; in surround51_to_stereo_downmix_mtx()
118 mtx[STEREO_L][layout[CRAS_CH_RR]] = 0.5; in surround51_to_stereo_downmix_mtx()
142 if (layout[CRAS_CH_RL] != -1 && layout[CRAS_CH_RR] != -1) { in surround51_to_quad_downmix_mtx()
144 mtx[CRAS_CH_RR][layout[CRAS_CH_RR]] = 1.0; in surround51_to_quad_downmix_mtx()
148 mtx[CRAS_CH_RR][layout[CRAS_CH_SR]] = 1.0; in surround51_to_quad_downmix_mtx()
160 mtx[CRAS_CH_RR][layout[CRAS_CH_LFE]] = 0.5; in surround51_to_quad_downmix_mtx()
227 rr = conv->out_fmt.channel_layout[CRAS_CH_RR]; in quad_to_51()
252 rear_right = conv->out_fmt.channel_layout[CRAS_CH_RR]; in stereo_to_quad()
266 rear_right = conv->in_fmt.channel_layout[CRAS_CH_RR]; in quad_to_stereo()
/external/adhd/cras/src/common/
Dcras_audio_format.h58 CRAS_CH_RR, enumerator
/external/adhd/cras/src/tests/
Dfmt_conv_unittest.cc421 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_RL, CRAS_CH_RR); in TEST()
434 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_RR, CRAS_CH_LFE); in TEST()
508 in_buff[i * 6 + CRAS_CH_RR] = in_rr; in TEST()
531 EXPECT_EQ(rr, out_buff[i * 4 + CRAS_CH_RR]); in TEST()
597 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_RL, CRAS_CH_RR); in TEST()
611 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_FR, CRAS_CH_RR); in TEST()
1261 swap_channel_layout(out_fmt.channel_layout, CRAS_CH_FL, CRAS_CH_RR); in TEST()
/external/adhd/cras/client/cras-sys/src/
Dlib.rs149 CRAS_CH_RR,
480 3 => Ok(CRAS_CH_RR), in try_from()
Dgen.rs476 CRAS_CH_RR = 3, enumerator