From d82e33ec9b116c0a2a27cf84d3e95355a0ebdd2b Mon Sep 17 00:00:00 2001 From: lwx1121892 Date: Sat, 30 Jul 2022 15:38:06 +0800 Subject: [PATCH] =?UTF-8?q??= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lwx1121892 --- .../audioManager/src/main/js/test/AudioCall.test.js | 2 +- .../audioManager/src/main/js/test/AudioVOIP.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioCall.test.js b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioCall.test.js index c262b6f01..21436bb4e 100644 --- a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioCall.test.js +++ b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioCall.test.js @@ -506,7 +506,7 @@ describe('audioCall', function () { rendererInfo: AudioRendererInfo } await getAbilityInfo("capture_js-44100-2C-16B-2.pcm"); - recPromise(AudioCapturerOptions, mediaDir, audio.AudioScene.AUDIO_SCENE_VOICE_CHAT); + await recPromise(AudioCapturerOptions, mediaDir, audio.AudioScene.AUDIO_SCENE_VOICE_CHAT); await sleep(500); readpath = 'StarWars10s-1C-44100-2SW.wav'; await getFdRead(readpath, done); diff --git a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioVOIP.test.js b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioVOIP.test.js index 24af831bc..603202b0c 100644 --- a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioVOIP.test.js +++ b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioVOIP.test.js @@ -515,7 +515,7 @@ describe('audioVoip', function () { } await getAbilityInfo("capture_js-44100-2C-16B-2.pcm"); - recPromise(AudioCapturerOptions, mediaDir, audio.AudioScene.AUDIO_SCENE_PHONE_CHAT); + await recPromise(AudioCapturerOptions, mediaDir, audio.AudioScene.AUDIO_SCENE_PHONE_CHAT); await sleep(500); readpath = 'StarWars10s-1C-44100-2SW.wav'; -- GitLab