提交 2e520b2c 编写于 作者: X Xiangyu Li

update getAudioEffectInfoArray

Signed-off-by: NXiangyu Li <lixiangyu20@huawei.com>
上级 72b9c119
......@@ -3429,9 +3429,9 @@ getAudioEffectInfoArray(content: ContentType, usage: StreamUsage): Promise&lt;Au
**示例:**
```js
audioStreamManager.getAudioEffectInfoArray().then((audioEffectInfoArray) => {
audioStreamManager.getAudioEffectInfoArray(audio.ContentType.CONTENT_TYPE_MUSIC, audio.StreamUsage.STREAM_USAGE_MEDIA).then((audioEffectInfoArray) => {
console.info(`getAudioEffectInfoArray ######### Get Promise is called ##########`);
console.info(`The contentType of ${CONTENT_TYPE_MUSIC} and the streamUsage of ${STREAM_USAGE_MEDIA} 's effect modes are: ${audioEffectInfoArray}`);
console.info(`The effect modes are: ${audioEffectInfoArray}`);
}).catch((err) => {
console.error(`getAudioEffectInfoArray :ERROR: ${err}`);
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册