Home
last modified time | relevance | path

Searched refs:in_fmt (Results 1 – 6 of 6) sorted by relevance

/external/adhd/cras/src/tests/
Daudio_format_unittest.cc18 in_fmt = cras_audio_format_create(SND_PCM_FORMAT_S16_LE, 44100, 6); in SetUp()
21 in_fmt->channel_layout[i] = -1; in SetUp()
27 cras_audio_format_destroy(in_fmt); in TearDown()
33 struct cras_audio_format* in_fmt; member in __anonbb5e2df60111::ChannelConvMtxTestSuite
39 in_fmt->channel_layout[0] = 5; in TEST_F()
40 in_fmt->channel_layout[1] = 4; in TEST_F()
41 in_fmt->channel_layout[2] = 3; in TEST_F()
42 in_fmt->channel_layout[3] = 2; in TEST_F()
43 in_fmt->channel_layout[4] = 1; in TEST_F()
44 in_fmt->channel_layout[5] = 0; in TEST_F()
[all …]
Dfmt_conv_unittest.cc55 struct cras_audio_format in_fmt; in TEST() local
64 in_fmt.format = out_fmt.format = SND_PCM_FORMAT_S16_LE; in TEST()
65 in_fmt.num_channels = out_fmt.num_channels = 1; in TEST()
66 in_fmt.frame_rate = 16000; in TEST()
73 c = cras_fmt_conv_create(&in_fmt, &out_fmt, 10, 1); in TEST()
106 struct cras_audio_format in_fmt; in TEST() local
111 in_fmt.format = out_fmt.format = SND_PCM_FORMAT_S32_BE; in TEST()
112 in_fmt.num_channels = out_fmt.num_channels = 2; in TEST()
113 c = cras_fmt_conv_create(&in_fmt, &out_fmt, 4096, 0); in TEST()
120 struct cras_audio_format in_fmt; in TEST() local
[all …]
Ddev_stream_unittest.cc91 static struct cras_audio_format in_fmt; variable
119 in_fmt.format = SND_PCM_FORMAT_S16_LE; in SetUp()
121 in_fmt.num_channels = 2; in SetUp()
224 in_fmt.frame_rate = in_rate; in SetUpFmtConv()
272 out_fmt.frame_rate, (kBufferFrames / 4), in_fmt.frame_rate); in TEST_F()
305 out_fmt.frame_rate, (kBufferFrames / 2), in_fmt.frame_rate); in TEST_F()
333 in_fmt.frame_rate = 44100; // Input to converter is stream rate. in TEST_F()
342 cras_frames_at_rate(in_fmt.frame_rate, kBufferFrames, out_fmt.frame_rate); in TEST_F()
374 in_fmt.frame_rate = 48000; // Input to converter is device rate. in TEST_F()
384 cras_frames_at_rate(out_fmt.frame_rate, kBufferFrames, in_fmt.frame_rate); in TEST_F()
[all …]
/external/flac/test/
Dtest_flac.sh388 in_fmt=$1
391in_fmt" = wav ] || [ "$in_fmt" = aiff ] || [ "$in_fmt" = raw ] || [ "$in_fmt" = flac ] || [ "$in_f…
395 if [ $in_fmt = raw ] ; then
403 …if ( [ $in_fmt = flac ] || [ $in_fmt = ogg ] ) && ( [ $out_fmt = flac ] || [ $out_fmt = ogg ] ) ; …
417 desc="($in_fmt<->$out_fmt)"
420 …run_flac $eopt --skip=10 -o z50c.skip10.$out_fmt 50c.$in_fmt || die "ERROR generating FLAC file $d…
421 …[ $in_fmt = $out_fmt ] || run_flac $dopt -o z50c.skip10.$in_fmt z50c.skip10.$out_fmt || die "ERROR…
422 …$CMP 50c.skip10.$in_fmt z50c.skip10.$in_fmt || die "ERROR: file mismatch for --skip=10 (encode) $d…
423 rm -f z50c.skip10.$out_fmt z50c.skip10.$in_fmt
427 …run_flac $eopt --skip=0:01 -o z50c.skip0_01.$out_fmt 50c.$in_fmt || die "ERROR generating FLAC fil…
[all …]
/external/adhd/cras/src/server/
Dcras_fmt_conv.c43 struct cras_audio_format in_fmt; member
263 front_left = conv->in_fmt.channel_layout[CRAS_CH_FL]; in quad_to_stereo()
264 front_right = conv->in_fmt.channel_layout[CRAS_CH_FR]; in quad_to_stereo()
265 rear_left = conv->in_fmt.channel_layout[CRAS_CH_RL]; in quad_to_stereo()
266 rear_right = conv->in_fmt.channel_layout[CRAS_CH_RR]; in quad_to_stereo()
277 num_in_ch = conv->in_fmt.num_channels; in default_all_to_all()
292 num_in_ch = conv->in_fmt.num_channels; in default_some_to_some()
306 num_in_ch = conv->in_fmt.num_channels; in convert_channels()
329 conv->in_fmt = *in; in cras_fmt_conv_create()
441 conv->in_fmt.channel_layout); in cras_fmt_conv_create()
[all …]
/external/kernel-headers/original/uapi/sound/
Dskl-tplg-interface.h234 struct skl_dfw_v4_module_fmt in_fmt[MAX_IN_QUEUE]; member