Searched refs:g_attrs (Results 1 - 2 of 2) sorted by relevance
/drivers/peripheral/audio/test/sample/ |
H A D | idl_capture.c | 66 struct AudioSampleAttributes g_attrs; variable 458 strParam->attrs = g_attrs; in CaptureChoiceModeAndRecording() 550 int32_t ret = g_adapter->CreateCapture(g_adapter, &g_devDesc, &g_attrs, &capture, &g_captureId); in RecordingAudioInitCapture() 567 uint32_t bufferSize = PcmFramesToBytes(g_attrs); in RecordingAudioInitCapture() 759 if (InitAttrsCapture(&g_attrs) < 0) { in InitCaptureParam()
|
H A D | idl_render.c | 57 struct AudioSampleAttributes g_attrs; variable 385 bufferSize = PcmFramesToBytes(g_attrs); in InitPlayingAudioParam() 485 if (CheckWavFileHeader(g_file, &g_wavHeadInfo, &g_attrs) < 0) { in PlayingAudioInitFile() 505 int32_t ret = g_adapter->CreateRender(g_adapter, &g_devDesc, &g_attrs, &render, &g_renderId); in PlayingAudioInitRender() 694 if (InitAttrs(&g_attrs) < 0) { in InitRenderParam()
|
Completed in 4 milliseconds