IAudioProcessingObjectPreferredFormatSupport 接口 (audioengineextensionapo.h)
此接口由 ADO 实现,使其能够指定首选输入或输出格式。 这允许 ADO 声明可能不同于终结点格式的首选格式。 例如,当客户端调用 IAudioClient::GetMixFormat 时,将返回此首选值。
继承
IAudioProcessingObjectPreferredFormatSupport 接口继承自 IUnknown 接口。
方法
IAudioProcessingObjectPreferredFormatSupport 接口具有这些方法。
IAudioProcessingObjectPreferredFormatSupport::GetPreferredInputFormat 回调函数,它允许 ADO 为提供的输出格式指定首选输入格式。 |
IAudioProcessingObjectPreferredFormatSupport::GetPreferredOutputFormat 回调函数,它允许 ADO 为提供的输入格式指定首选输出格式。 |
要求
最低受支持的客户端 | Windows 11版本 23H2 |
标头 | audioengineextensionapo.h |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈