Home
last modified time | relevance | path

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

/foundation/distributedhardware/distributed_audio/services/test_example/
H A Ddistributedaudiotest.cpp121 static OHOS::sptr<IAudioCapture> g_capture = nullptr; member
523 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()

Completed in 2 milliseconds