• Home
  • Raw
  • Download

Lines Matching full:fmt

31   struct cras_audio_format fmt;  in TEST()  local
34 fmt.num_channels = 2; in TEST()
35 fmt.format = SND_PCM_FORMAT_S16_LE; in TEST()
37 fmt.channel_layout[i] = stereo[i]; in TEST()
41 cras_audio_area_config_channels(a1, &fmt); in TEST()
42 cras_audio_area_config_channels(a2, &fmt); in TEST()
43 cras_audio_area_config_buf_pointers(a1, &fmt, (uint8_t*)buf1); in TEST()
44 cras_audio_area_config_buf_pointers(a2, &fmt, (uint8_t*)buf2); in TEST()
51 cras_audio_area_copy(a1, 0, &fmt, a2, 0, 1.0); in TEST()
60 struct cras_audio_format fmt; in TEST() local
65 fmt.num_channels = 2; in TEST()
66 fmt.format = SND_PCM_FORMAT_S16_LE; in TEST()
68 fmt.channel_layout[i] = stereo[i]; in TEST()
72 cras_audio_area_config_channels(a1, &fmt); in TEST()
73 cras_audio_area_config_channels(a2, &fmt); in TEST()
74 cras_audio_area_config_buf_pointers(a1, &fmt, (uint8_t*)buf1); in TEST()
75 cras_audio_area_config_buf_pointers(a2, &fmt, (uint8_t*)buf2); in TEST()
86 cras_audio_area_copy(a1, 0, &fmt, a2, 0, gain_scaler); in TEST()
98 struct cras_audio_format fmt; in TEST() local
101 fmt.num_channels = 2; in TEST()
102 fmt.format = SND_PCM_FORMAT_S16_LE; in TEST()
104 fmt.channel_layout[i] = stereo[i]; in TEST()
108 cras_audio_area_config_channels(a1, &fmt); in TEST()
109 cras_audio_area_config_channels(a2, &fmt); in TEST()
110 cras_audio_area_config_buf_pointers(a1, &fmt, (uint8_t*)buf1); in TEST()
111 cras_audio_area_config_buf_pointers(a2, &fmt, (uint8_t*)buf2); in TEST()
118 cras_audio_area_copy(a1, 2, &fmt, a2, 0, 1.0); in TEST()
131 struct cras_audio_format fmt; in TEST() local
134 fmt.num_channels = 2; in TEST()
135 fmt.format = SND_PCM_FORMAT_S16_LE; in TEST()
137 fmt.channel_layout[i] = stereo[i]; in TEST()
141 cras_audio_area_config_channels(a1, &fmt); in TEST()
142 cras_audio_area_config_channels(a2, &fmt); in TEST()
143 cras_audio_area_config_buf_pointers(a1, &fmt, (uint8_t*)buf1); in TEST()
144 cras_audio_area_config_buf_pointers(a2, &fmt, (uint8_t*)buf2); in TEST()
151 cras_audio_area_copy(a1, 2, &fmt, a2, 0, 1.0); in TEST()
204 struct cras_audio_format fmt; in TEST() local
207 fmt.num_channels = 1; in TEST()
208 fmt.format = SND_PCM_FORMAT_S16_LE; in TEST()
210 fmt.channel_layout[i] = mono[i]; in TEST()
213 cras_audio_area_config_channels(a1, &fmt); in TEST()
214 cras_audio_area_config_buf_pointers(a1, &fmt, (uint8_t*)buf1); in TEST()
216 fmt.num_channels = 2; in TEST()
218 fmt.channel_layout[i] = stereo[i]; in TEST()
221 cras_audio_area_config_channels(a2, &fmt); in TEST()
222 cras_audio_area_config_buf_pointers(a2, &fmt, (uint8_t*)buf2); in TEST()
227 cras_audio_area_copy(a1, 0, &fmt, a2, 0, 1.0); in TEST()
236 struct cras_audio_format fmt; in TEST() local
239 fmt.num_channels = 3; in TEST()
240 fmt.format = SND_PCM_FORMAT_S16_LE; in TEST()
242 fmt.channel_layout[i] = kb_mic[i]; in TEST()
245 cras_audio_area_config_channels(a1, &fmt); in TEST()
246 cras_audio_area_config_buf_pointers(a1, &fmt, (uint8_t*)buf1); in TEST()
248 fmt.num_channels = 2; in TEST()
250 fmt.channel_layout[i] = stereo[i]; in TEST()
253 cras_audio_area_config_channels(a2, &fmt); in TEST()
254 cras_audio_area_config_buf_pointers(a2, &fmt, (uint8_t*)buf2); in TEST()
259 cras_audio_area_copy(a1, 0, &fmt, a2, 0, 1.0); in TEST()
313 void cras_mix_add_scale_stride(snd_pcm_format_t fmt, in cras_mix_add_scale_stride() argument