Searched refs:g_capture (Results 1 – 2 of 2) sorted by relevance
818 if (g_capture == NULL || g_capture->GetMute == NULL) { in SetCaptureMute()835 if (g_capture == NULL || g_capture->SetMute == NULL) { in SetCaptureMute()851 if (g_capture == NULL || g_capture->GetVolume == NULL) { in SetCaptureVolume()881 ret = g_capture->SetVolume((void *)g_capture, val); in SetCaptureVolume()894 if (g_capture == NULL || g_capture->GetGain == NULL) { in SetCaptureGain()919 if (g_capture == NULL || g_capture->SetGain == NULL) { in SetCaptureGain()925 ret = g_capture->SetGain((void *)g_capture, val); in SetCaptureGain()937 if (g_capture == NULL || g_capture->Pause == NULL) { in SetCaptyrePause()941 ret = g_capture->Pause((void *)g_capture); in SetCaptyrePause()952 if (g_capture == NULL || g_capture->Resume == NULL) { in SetCaptureResume()[all …]
121 static OHOS::sptr<IAudioCapture> g_capture = nullptr; variable523 int32_t ret = g_adapter->CreateCapture(captureDesc, captureAttr, g_capture, g_captureId); in OpenMic()524 if (ret != DH_SUCCESS || g_capture == nullptr) { in OpenMic()546 if (g_capture == nullptr) { in Capture()554 g_capture->Start(); in Capture()561 int32_t ret = g_capture->CaptureFrame(data, size); in Capture()605 if (g_capture == nullptr) { in StopCapture()625 g_capture->Stop(); in StopCapture()