From 96c2b2c8626665a6e2846ad170dc3fdd17fdd132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=B4=E4=BC=9F=E7=90=A6?= Date: Thu, 29 Jun 2023 20:32:16 +0800 Subject: [PATCH] 0629 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 戴伟琦 --- multimedia/BUILD.gn | 2 +- .../audio_ndk_test/entry/src/main/cpp/napi/audioTest.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/multimedia/BUILD.gn b/multimedia/BUILD.gn index 3011b5703..c3ccd86c3 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 135bcf6da..13ee1e54a 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; -- GitLab