未验证 提交 1ffea4d5 编写于 作者: O openharmony_ci 提交者: Gitee

!11679 示例代码错误修改

Merge pull request !11679 from 一杯丞丞汁儿/master
......@@ -333,12 +333,8 @@ async function createTonePlayerBefore(){
streamUsage : audio.StreamUsage.STREAM_USAGE_MEDIA,
rendererFlags : 0
}
createTonePlayer();
tonePlayer = await audio.createTonePlayer(audioRendererInfo);
}
async function createTonePlayer(){
tonePlayer = await audio.createTonePlayer(audioRendererInfo);
}
```
## AudioVolumeType
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册