提交 cd817803 编写于 作者: Q qlw

<audio xts整改>

Signed-off-by: Nqlw <qinliwen3@huawei.com>
上级 22477bfe
...@@ -478,12 +478,12 @@ describe('audioCall', function () { ...@@ -478,12 +478,12 @@ describe('audioCall', function () {
readpath = 'StarWars10s-1C-44100-2SW.wav'; readpath = 'StarWars10s-1C-44100-2SW.wav';
await getFdRead(readpath); await getFdRead(readpath);
await playbackPromise(AudioRendererOptions, filePath, audio.AudioScene.AUDIO_SCENE_VOICE_CHAT); await playbackPromise(AudioRendererOptions, filePath, audio.AudioScene.AUDIO_SCENE_VOICE_CHAT);
await sleep(1000); await sleep(2000);
console.info('AudioFrameworkRecLog: resultFlag : Capturer : ' + resultFlagRec); console.info('AudioFrameworkRecLog: resultFlag : Capturer : ' + resultFlagRec);
console.info('AudioFrameworkRenderLog: resultFlag : Renderer : ' + resultFlagRen); console.info('AudioFrameworkRenderLog: resultFlag : Renderer : ' + resultFlagRen);
if (resultFlagRec == true) { if (resultFlagRec == true && resultFlagRen == true) {
expect(resultFlagRen).assertTrue(); expect(true).assertTrue();
} }
else { else {
expect(false).assertTrue(); expect(false).assertTrue();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册