未验证 提交 9f4f1998 编写于 作者: O openharmony_ci 提交者: Gitee

!21286 增加getAudioEffectInfoArray接口changelog

Merge pull request !21286 from yaojingyu2008/master
# multimedia子系统ChangeLog
## cl.multimedia.1 getAudioEffectInfoArray接口入参变更,删除Content type入参
对于getAudioEffectInfoArray,适配4.0.9.2修改,删除Content type入参。
**变更影响**
对于已发布的js接口,可能影响三方应用的兼容性。
**关键的接口/组件变更**
修改前的接口原型:
```js
getAudioEffectInfoArray(content: ContentType, usage: StreamUsage, callback: AsyncCallback<AudioEffectInfoArray>): void;
getAudioEffectInfoArray(content: ContentType, usage: StreamUsage): Promise<AudioEffectInfoArray>;
```
修改后的接口原型:
```js
getAudioEffectInfoArray(usage: StreamUsage, callback: AsyncCallback<AudioEffectInfoArray>): void;
getAudioEffectInfoArray(usage: StreamUsage): Promise<AudioEffectInfoArray>;
```
**适配指导**
修改后用户调用该接口时,只需要传入StreamUsage入参,对于已经适配的用户,直接删去ContentType type入参即可。
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册