IAudioSystemEffectsCustomFormats Windows Vista 和更新版本的 Windows 支援介面。 當您開發音訊處理物件 (APO) 以非典型格式驅動音訊配接器時,APO 必須支援 IAudioSystemEffectsCustomFormats 介面。
Windows 作業系統可以在音訊引擎外部具現化您的 APO,並使用 IAudioSystemEffectsCustomFormats 介面來擷取非典型格式的相關信息。 相關聯的使用者介面會顯示擷取的數據。
重要
IAudioSystemEffectsCustomFormats雖然 Windows 中仍支援介面,但請注意,您可以套用此介面的 APO 類型取決於您的目標 Windows 版本。 下表提供詳細資訊:| 目標 OS | 目標 APO 類型 |
|---|---|
| Windows Vista | 全域效果 (GFX) |
| Windows 7 | 全域效果 (GFX) |
| Windows 8 | 全域效果 (GFX) |
| Windows 8.1 | EFX (端點效果) |
介面 IAudioSystemEffectsCustomFormats 繼承自 IUnknown ,也支援下列方法:
繼承
IAudioSystemEffectsCustomFormats 介面繼承自 IUnknown 介面。
方法
IAudioSystemEffectsCustomFormats 介面具有這些方法。
|
IAudioSystemEffectsCustomFormats::GetFormat GetFormat 方法會擷取自定義格式的 IAudioMediaType 表示法。 |
|
IAudioSystemEffectsCustomFormats::GetFormatCount GetFormatCount 方法會擷取系統效果音訊處理物件所支援的自定義格式數目, (sAPO) 。 |
|
IAudioSystemEffectsCustomFormats::GetFormatRepresentation GetFormatRepresentation 方法會擷取自定義格式的字串表示,以便顯示在使用者介面上。 |
規格需求
| 需求 | 值 |
|---|---|
| 目標平台 | Windows |
| 標頭 | audioenginebaseapo.h |