• Home
  • Raw
  • Download

Lines Matching refs:a2

26 struct cras_audio_area *a2;  variable
40 a2 = cras_audio_area_create(2); in TEST()
42 cras_audio_area_config_channels(a2, &fmt); in TEST()
44 cras_audio_area_config_buf_pointers(a2, &fmt, (uint8_t *)buf2); in TEST()
46 a2->frames = 16; in TEST()
51 cras_audio_area_copy(a1, 0, &fmt, a2, 0, 1.0); in TEST()
56 cras_audio_area_destroy(a2); in TEST()
71 a2 = cras_audio_area_create(2); in TEST()
73 cras_audio_area_config_channels(a2, &fmt); in TEST()
75 cras_audio_area_config_buf_pointers(a2, &fmt, (uint8_t *)buf2); in TEST()
77 a2->frames = 16; in TEST()
86 cras_audio_area_copy(a1, 0, &fmt, a2, 0, gain_scaler); in TEST()
95 cras_audio_area_destroy(a2); in TEST()
107 a2 = cras_audio_area_create(2); in TEST()
109 cras_audio_area_config_channels(a2, &fmt); in TEST()
111 cras_audio_area_config_buf_pointers(a2, &fmt, (uint8_t *)buf2); in TEST()
113 a2->frames = 14; in TEST()
118 cras_audio_area_copy(a1, 2, &fmt, a2, 0, 1.0); in TEST()
127 cras_audio_area_destroy(a2); in TEST()
140 a2 = cras_audio_area_create(2); in TEST()
142 cras_audio_area_config_channels(a2, &fmt); in TEST()
144 cras_audio_area_config_buf_pointers(a2, &fmt, (uint8_t *)buf2); in TEST()
146 a2->frames = 14; in TEST()
151 cras_audio_area_copy(a1, 2, &fmt, a2, 0, 1.0); in TEST()
164 cras_audio_area_destroy(a2); in TEST()
185 a2 = cras_audio_area_create(1); in TEST()
186 a2->frames = 16; in TEST()
187 cras_audio_area_config_channels(a2, &src_fmt); in TEST()
188 cras_audio_area_config_buf_pointers(a2, &src_fmt, (uint8_t *)buf2); in TEST()
193 cras_audio_area_copy(a1, 0, &dst_fmt, a2, 0, 1.0); in TEST()
200 cras_audio_area_destroy(a2); in TEST()
219 a2 = cras_audio_area_create(2); in TEST()
220 a2->frames = 16; 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()
232 cras_audio_area_destroy(a2); in TEST()
251 a2 = cras_audio_area_create(2); in TEST()
252 a2->frames = 10; 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()
267 cras_audio_area_destroy(a2); in TEST()
290 a2 = cras_audio_area_create(2); in TEST()
291 a2->frames = 10; in TEST()
292 cras_audio_area_config_channels(a2, &src_fmt); in TEST()
293 cras_audio_area_config_buf_pointers(a2, &src_fmt, (uint8_t *)buf2); in TEST()
298 cras_audio_area_copy(a1, 0, &dst_fmt, a2, 0, 1.0); in TEST()
306 cras_audio_area_destroy(a2); in TEST()