diff --git a/multimedia/BUILD.gn b/multimedia/BUILD.gn index 3011b5703d6c8943892c8a46bd24ca5fea37cf1b..c3ccd86c30cd10f303fe088ccc9837ff2025064a 100644 --- a/multimedia/BUILD.gn +++ b/multimedia/BUILD.gn @@ -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", diff --git a/multimedia/audio/audio_js_standard/audio_ndk_test/entry/src/main/cpp/napi/audioTest.cpp b/multimedia/audio/audio_js_standard/audio_ndk_test/entry/src/main/cpp/napi/audioTest.cpp index 135bcf6dae4f1cfff55e930473506dcffcc673bf..13ee1e54a31e576d58a036b56f45a3b588a3b807 100644 --- a/multimedia/audio/audio_js_standard/audio_ndk_test/entry/src/main/cpp/napi/audioTest.cpp +++ b/multimedia/audio/audio_js_standard/audio_ndk_test/entry/src/main/cpp/napi/audioTest.cpp @@ -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;