Home
last modified time | relevance | path

Searched refs:sceneDesc (Results 1 – 2 of 2) sorted by relevance

/drivers/peripheral/audio/test/unittest/common/capture/
Daudio_capture_common_test.cpp826 struct AudioSceneDescriptor sceneDesc = {}; variable
827 sceneDesc.desc.pins = PIN_IN_MIC;
828 sceneDesc.desc.desc = strdup("mic");
829 sceneDesc.scene.id = AUDIO_IN_CALL;
831 int32_t ret = capture_->SelectScene(capture_, &sceneDesc);
833 free(sceneDesc.desc.desc);
839 struct AudioSceneDescriptor sceneDesc = {}; variable
840 sceneDesc.scene.id = AUDIO_IN_CALL;
845 ret = capture_->SelectScene(nullptr, &sceneDesc);
852 struct AudioSceneDescriptor sceneDesc = {}; variable
[all …]
/drivers/peripheral/audio/test/benchmarktest/capture/
Daudio_capture_benchmarktest.cpp620 struct AudioSceneDescriptor sceneDesc = {}; in BENCHMARK_F() local
621 sceneDesc.desc.pins = PIN_IN_MIC; in BENCHMARK_F()
622 sceneDesc.desc.desc = strdup("mic"); in BENCHMARK_F()
623 sceneDesc.scene.id = AUDIO_IN_COMMUNICATION; in BENCHMARK_F()
627 ret = capture_->CheckSceneCapability(capture_, &sceneDesc, &isSupport); in BENCHMARK_F()
630 free(sceneDesc.desc.desc); in BENCHMARK_F()
631 sceneDesc.desc.desc = nullptr; in BENCHMARK_F()