Home
last modified time | relevance | path

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

/drivers/peripheral/audio/test/sample/
H A Didl_render.c65 FILE *g_file; variable
245 if (g_file != NULL) { in StopAudioFiles()
246 fclose(g_file); in StopAudioFiles()
247 g_file = NULL; in StopAudioFiles()
333 if (g_file == NULL) { in FrameStart()
344 numRead = fread(frame, 1, readSize, g_file); in FrameStart()
468 if (g_file != NULL) { in PlayingAudioInitFile()
479 g_file = fopen(pathBuf, "rb"); in PlayingAudioInitFile()
480 if (g_file == NULL) { in PlayingAudioInitFile()
485 if (CheckWavFileHeader(g_file, in PlayingAudioInitFile()
[all...]
H A Didl_capture.c73 FILE *g_file; variable
261 if (AddWavFileHeader(g_file, &g_str) < 0) { in StopButtonCapture()
266 FileClose(&g_file); in StopButtonCapture()
457 strParam->file = g_file; in CaptureChoiceModeAndRecording()
474 if (g_file != NULL) { in RecordingAudioInitFile()
480 g_file = fopen(g_path, "wb+"); in RecordingAudioInitFile()
481 if (g_file == NULL) { in RecordingAudioInitFile()
486 int32_t ret = fseek(g_file, WAV_HEAD_OFFSET, SEEK_SET); in RecordingAudioInitFile()
592 FileClose(&g_file); in StartButtonCapture()
599 FileClose(&g_file); in StartButtonCapture()
[all...]

Completed in 3 milliseconds