Home
last modified time | relevance | path

Searched refs:CRAS_CH_RL (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()
115 mtx[STEREO_L][layout[CRAS_CH_RL]] = 0.866; in surround51_to_stereo_downmix_mtx()
116 mtx[STEREO_R][layout[CRAS_CH_RL]] = 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()
143 mtx[CRAS_CH_RL][layout[CRAS_CH_RL]] = 1.0; in surround51_to_quad_downmix_mtx()
147 mtx[CRAS_CH_RL][layout[CRAS_CH_SL]] = 1.0; in surround51_to_quad_downmix_mtx()
159 mtx[CRAS_CH_RL][layout[CRAS_CH_LFE]] = 0.5; in surround51_to_quad_downmix_mtx()
226 rl = conv->out_fmt.channel_layout[CRAS_CH_RL]; in quad_to_51()
251 rear_left = conv->out_fmt.channel_layout[CRAS_CH_RL]; in stereo_to_quad()
265 rear_left = conv->in_fmt.channel_layout[CRAS_CH_RL]; in quad_to_stereo()
/external/adhd/cras/src/common/
Dcras_audio_format.h57 CRAS_CH_RL, enumerator
/external/adhd/cras/client/cras-sys/src/
Dlib.rs148 CRAS_CH_RL,
479 2 => Ok(CRAS_CH_RL), in try_from()
Dgen.rs475 CRAS_CH_RL = 2, 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()
507 in_buff[i * 6 + CRAS_CH_RL] = in_rl; in TEST()
530 EXPECT_EQ(rl, out_buff[i * 4 + CRAS_CH_RL]); in TEST()
597 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_RL, CRAS_CH_RR); in TEST()
612 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_FL, CRAS_CH_RL); in TEST()
1262 swap_channel_layout(out_fmt.channel_layout, CRAS_CH_RL, CRAS_CH_FR); in TEST()