harmony 鸿蒙Multimedia Subsystem Changelog

  • 2023-10-30
  • 浏览 (222)

Multimedia Subsystem Changelog

cl.multimedia.1 Deleted content from getAudioEffectInfoArray

The input parameter content is deleted from getAudioEffectInfoArray.

Change Impact

Applications that use the involved APIs may have compatibility issues.

Key API/Component Changes

Before change:

getAudioEffectInfoArray(content: ContentType, usage: StreamUsage, callback: AsyncCallback<AudioEffectInfoArray>): void;
getAudioEffectInfoArray(content: ContentType, usage: StreamUsage): Promise<AudioEffectInfoArray>;

After change:

getAudioEffectInfoArray(usage: StreamUsage, callback: AsyncCallback<AudioEffectInfoArray>): void;
getAudioEffectInfoArray(usage: StreamUsage): Promise<AudioEffectInfoArray>;

Adaptation Guide

When calling this API, pass in only the input parameter usage. If getAudioEffectInfoArray is used in your application code, delete the content parameter.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Arkui Subsystem State Management Changelog

harmony 鸿蒙ArkUI Subsystem Changelog

harmony 鸿蒙Bundle Management Subsystem Changelog

harmony 鸿蒙Distributed Data Subsystem Changelog

harmony 鸿蒙Media Subsystem ChangeLog

0  赞