提交 2ac69a96 编写于 作者: J jiao_yanlin

Sample code modification

Signed-off-by: Njiao_yanlin <jiaoyanlin@huawei.com>
上级 08edd4af
......@@ -329,7 +329,7 @@ import audio from '@ohos.multimedia.audio';
let tonePlayer;
async function createTonePlayerBefore(){
let audioRendererInfo = {
contentType : audio.ContentType.CONTENT_TYPE_MUSIC,
contentType : audio.ContentType.CONTENT_TYPE_SONIFICATION,
streamUsage : audio.StreamUsage.STREAM_USAGE_MEDIA,
rendererFlags : 0
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册