提交 96c2b2c8 编写于 作者: 戴伟琦

0629

Signed-off-by: N戴伟琦 <daiweiqi@huawei.com>
上级 a5b37718
......@@ -26,8 +26,8 @@ group("multimedia") {
"audio/audio_js_standard/audioInterruptRender:audioRenderInterrupt",
"audio/audio_js_standard/audioManager:audio_manager_js_hap",
"audio/audio_js_standard/audioRenderer:audio_renderer_js_hap",
"audio/audio_js_standard/audio_ndk_test:audioDemo_ndk_hap",
"audio/audio_js_standard/audioVoip:audio_voip_js_hap",
"audio/audio_js_standard/audio_ndk_test:audioDemo_ndk_hap",
"avsession/avsession_js_standard/avsessionManager:avsession_framework_js_hap",
"camera/camera_js_standard:camera_framework_ets_hap",
"image/image_js_standard/image:image_js_hap",
......
......@@ -25,7 +25,6 @@ static napi_value CreateAudioCapture(napi_env env, napi_callback_info info)
OH_AudioStream_Type type = AUDIOSTREAM_TYPE_CAPTURER;
OH_AudioStream_Result result = OH_AudioStreamBuilder_Create(&builder, type);
OH_AudioStreamBuilder_Destroy(builder);
// int result = 5;
napi_value res;
napi_create_int32(env, result, &res);
return res;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册