IAudioSystemEffectsCustomFormats 接口 (audioenginebaseapo.h)

IAudioSystemEffectsCustomFormats 接口在 Windows Vista 和更高版本的 Windows 中受支持。 开发音频处理对象 (APO) 以非典型格式驱动音频适配器时,APO 必须支持 接口 IAudioSystemEffectsCustomFormats

Windows 操作系统可以在音频引擎外部实例化 APO,并使用 IAudioSystemEffectsCustomFormats 接口检索有关非典型格式的信息。 关联的用户界面显示检索到的数据。

重要 尽管该 IAudioSystemEffectsCustomFormats 接口在 Windows 中仍受支持,但请注意,可以应用此接口的 APO 类型取决于所面向的 Windows 版本。 下表提供了详细信息:
 
目标操作系统 目标 APO 类型
Windows Vista GFX) (全局效果
Windows 7 GFX) (全局效果
Windows 8 GFX) (全局效果
Windows 8.1 终结点效果 (EFX)
 

接口 IAudioSystemEffectsCustomFormats 继承自 IUnknown ,还支持以下方法:

IAudioSystemEffectsCustomFormats::GetFormat

IAudioSystemEffectsCustomFormats::GetFormatCount

IAudioSystemEffectsCustomFormats::GetFormatRepresentation

继承

IAudioSystemEffectsCustomFormats 接口继承自 IUnknown 接口。

方法

IAudioSystemEffectsCustomFormats 接口包含以下方法。

 
IAudioSystemEffectsCustomFormats::GetFormat

GetFormat 方法检索自定义格式的 IAudioMediaType 表示形式。
IAudioSystemEffectsCustomFormats::GetFormatCount

GetFormatCount 方法检索系统效果音频处理对象 (sAPO) 支持的自定义格式数。
IAudioSystemEffectsCustomFormats::GetFormatRepresentation

GetFormatRepresentation 方法检索自定义格式的字符串表示形式,以便它可以显示在用户界面上。

要求

要求
目标平台 Windows
标头 audioenginebaseapo.h