Home
last modified time | relevance | path

Searched refs:strParam (Results 1 - 4 of 4) sorted by relevance

/drivers/peripheral/audio/test/sample/
H A Dframework_common.c133 int32_t AddWavFileHeader(FILE *file, const struct StrParaCapture *strParam) in AddWavFileHeader() argument
137 if (strParam == NULL) { in AddWavFileHeader()
147 headInfo.audioFileFmtSize = PcmFormatToBits(strParam->attrs.format); in AddWavFileHeader()
149 headInfo.audioChannelNum = strParam->attrs.channelCount; in AddWavFileHeader()
150 headInfo.audioSampleRate = strParam->attrs.sampleRate; in AddWavFileHeader()
H A Didl_capture.c280 const struct StrParaCapture *strParam = param; in FrameStartCaptureMmap() local
281 struct IAudioCapture *capture = strParam->capture; in FrameStartCaptureMmap()
285 int fd = fileno(strParam->file); in FrameStartCaptureMmap()
447 struct StrParaCapture *strParam, struct IAudioCapture *capture, int32_t recordModeFlag) in CaptureChoiceModeAndRecording()
449 if (strParam == NULL || capture == NULL) { in CaptureChoiceModeAndRecording()
454 (void)memset_s(strParam, sizeof(struct StrParaCapture), 0, sizeof(struct StrParaCapture)); in CaptureChoiceModeAndRecording()
456 strParam->capture = capture; in CaptureChoiceModeAndRecording()
457 strParam->file = g_file; in CaptureChoiceModeAndRecording()
458 strParam->attrs = g_attrs; in CaptureChoiceModeAndRecording()
459 strParam in CaptureChoiceModeAndRecording()
446 CaptureChoiceModeAndRecording( struct StrParaCapture *strParam, struct IAudioCapture *capture, int32_t recordModeFlag) CaptureChoiceModeAndRecording() argument
[all...]
H A Dframework_common.h84 int32_t AddWavFileHeader(FILE *file, const struct StrParaCapture *strParam);
H A Didl_render.c258 const struct StrPara *strParam = param; in FrameStartMmap() local
259 struct IAudioRender *render = strParam->render; in FrameStartMmap()

Completed in 4 milliseconds