Home
last modified time | relevance | path

Searched refs:g_str (Results 1 - 2 of 2) sorted by relevance

/drivers/peripheral/audio/test/sample/
H A Didl_render.c60 static struct StrPara g_str; variable
394 (void)memset_s(&g_str, sizeof(struct StrPara), 0, sizeof(struct StrPara)); in InitPlayingAudioParam()
396 g_str.render = render; in InitPlayingAudioParam()
397 g_str.bufferSize = (int32_t)bufferSize; in InitPlayingAudioParam()
398 g_str.frame = g_frame; in InitPlayingAudioParam()
442 if (pthread_create(&g_tids, &tidsAttr, (void *)(&FrameStart), &g_str) != 0) { in StartPlayThread()
448 if (pthread_create(&g_tids, &tidsAttr, (void *)(&FrameStartMmap), &g_str) != 0) { in StartPlayThread()
457 if (pthread_create(&g_tids, &tidsAttr, (void *)(&FrameStart), &g_str) != 0) { in StartPlayThread()
H A Didl_capture.c69 static struct StrParaCapture g_str; variable
261 if (AddWavFileHeader(g_file, &g_str) < 0) { in StopButtonCapture()
423 if (pthread_create(&g_tids, &tidsAttr, (void *)(&FrameStartCapture), &g_str) != 0) { in StartPlayThread()
429 if (pthread_create(&g_tids, &tidsAttr, (void *)(&FrameStartCaptureMmap), &g_str) != 0) { in StartPlayThread()
437 if (pthread_create(&g_tids, &tidsAttr, (void *)(&FrameStartCapture), &g_str) != 0) { in StartPlayThread()
603 if (CaptureChoiceModeAndRecording(&g_str, capture, recordModeFlag) < 0) { in StartButtonCapture()

Completed in 4 milliseconds