From a5cd215b0d2887d5a81fa09825a659294a779fbf Mon Sep 17 00:00:00 2001 From: lwx1121892 Date: Tue, 11 Oct 2022 10:51:55 +0800 Subject: [PATCH] modify Signed-off-by: lwx1121892 --- .../AudioCapturer/src/main/js/test/AudioCapturer.test.js | 4 ++-- .../audioManager/src/main/js/test/AudioFramework.test.js | 4 ++-- .../audioRenderer/src/main/js/test/AudioRenderer.test.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/AudioCapturer.test.js b/multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/AudioCapturer.test.js index 5817bade6..1feb7d9f9 100644 --- a/multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/AudioCapturer.test.js +++ b/multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/AudioCapturer.test.js @@ -1040,7 +1040,7 @@ describe('audioCapturer', function () { /** *@tc.number : SUB_MULTIMEDIA_AUDIO_VOIP_REC_VOICE_CHAT_PROMISE_0100 *@tc.name : AudioCapturer-Set1-Media - *@tc.desc : AudioCapturer with parameter set 1 + *@tc.desc : AudioCapturer with parameter set 7 *@tc.size : MEDIUM *@tc.type : Function *@tc.level : Level 2 @@ -1053,7 +1053,7 @@ describe('audioCapturer', function () { encodingType: audio.AudioEncodingType.ENCODING_TYPE_RAW } let AudioCapturerInfo = { - source: audio.SourceType.SOURCE_TYPE_MIC, + source: audio.SourceType.SOURCE_TYPE_VOICE_COMMUNICATION, capturerFlags: 0 } let AudioCapturerOptions = { diff --git a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js index d43756028..b26b6457e 100755 --- a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js +++ b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js @@ -4618,8 +4618,8 @@ describe('audioFramework', function () { /** *@tc.number : SUB_MULTIMEDIA_AUDIO_MANAGER_RINGERMODECHANGE_0300 - *@tc.name : RingerModeChange - RINGER_MODE_SILENT - *@tc.desc : RingerModeChange - RINGER_MODE_SILENT + *@tc.name : RingerModeChange - RINGER_MODE_NORMAL + *@tc.desc : RingerModeChange - RINGER_MODE_NORMAL *@tc.size : MEDIUM *@tc.type : Function *@tc.level : Level 2 diff --git a/multimedia/audio/audio_js_standard/audioRenderer/src/main/js/test/AudioRenderer.test.js b/multimedia/audio/audio_js_standard/audioRenderer/src/main/js/test/AudioRenderer.test.js index 33de63a24..03c52c904 100644 --- a/multimedia/audio/audio_js_standard/audioRenderer/src/main/js/test/AudioRenderer.test.js +++ b/multimedia/audio/audio_js_standard/audioRenderer/src/main/js/test/AudioRenderer.test.js @@ -1068,7 +1068,7 @@ describe('audioRenderer', function () { resultFlag = true; audioRen.on('periodReach', 73, (position) => { console.log(`${TagFrmwk}: periodReach Event is called : ${position}`); - resultFlag = true; + resultFlag = false; }); }); -- GitLab