Lines Matching refs:g_file
73 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()
605 FileClose(&g_file); in StartButtonCapture()