Home
last modified time | relevance | path

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

/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/component/aw-alsa-utils/
A Darecord_mad.c141 char *capture_data = NULL; in capture_then_play() local
157 capture_data = malloc(len); in capture_then_play()
158 if (!capture_data) { in capture_then_play()
173 printf("data: %p\n", capture_data); in capture_then_play()
216 memset(capture_data, 0, len); in capture_then_play()
224 ret = pcm_read(handle, capture_data, in capture_then_play()
244 if (write(fd, capture_data, len) != len) { in capture_then_play()
266 free(capture_data); in capture_then_play()
267 capture_data = NULL; in capture_then_play()
284 free(capture_data); in capture_then_play()
[all …]
A Darecord.c160 char *capture_data = NULL; in capture_then_play() local
168 capture_data = malloc(len); in capture_then_play()
169 if (!capture_data) { in capture_then_play()
175 memset(capture_data, 0, len); in capture_then_play()
179 audio_mgr->channels, capture_data, len); in capture_then_play()
184 audio_mgr->channels, capture_data, len); in capture_then_play()
188 free(capture_data); in capture_then_play()
189 capture_data = NULL; in capture_then_play()
A Daduplex.c485 char *capture_data = NULL; in capture_then_play() local
494 capture_data = malloc(len); in capture_then_play()
495 if (!capture_data) { in capture_then_play()
499 memset(capture_data, 0, len); in capture_then_play()
503 audio_mgr->channels, capture_data, len); in capture_then_play()
507 audio_mgr->channels, capture_data, len); in capture_then_play()
509 free(capture_data); in capture_then_play()
510 capture_data = NULL; in capture_then_play()
/bsp/acm32/acm32f0x0-nucleo/libraries/HAL_Driver/Src/
A DHAL_TIMER.c1175 uint32_t capture_data = 0U; in HAL_TIMER_ReadCapturedValue() local
1182 capture_data = htim->Instance->CCR1; in HAL_TIMER_ReadCapturedValue()
1188 capture_data = htim->Instance->CCR2; in HAL_TIMER_ReadCapturedValue()
1194 capture_data = htim->Instance->CCR3; in HAL_TIMER_ReadCapturedValue()
1200 capture_data = htim->Instance->CCR4; in HAL_TIMER_ReadCapturedValue()
1207 return capture_data; in HAL_TIMER_ReadCapturedValue()
/bsp/acm32/acm32f4xx-nucleo/libraries/HAL_Driver/Src/
A DHAL_TIMER.c1208 uint32_t capture_data = 0U; in HAL_TIMER_ReadCapturedValue() local
1215 capture_data = htim->Instance->CCR1; in HAL_TIMER_ReadCapturedValue()
1221 capture_data = htim->Instance->CCR2; in HAL_TIMER_ReadCapturedValue()
1227 capture_data = htim->Instance->CCR3; in HAL_TIMER_ReadCapturedValue()
1233 capture_data = htim->Instance->CCR4; in HAL_TIMER_ReadCapturedValue()
1240 return capture_data; in HAL_TIMER_ReadCapturedValue()

Completed in 13 milliseconds