IAudioProcessingObjectPreferredFormatSupport 接口 (audioengineextensionapo.h)

此接口由 ADO 实现,使其能够指定首选输入或输出格式。 这允许 ADO 声明可能不同于终结点格式的首选格式。 例如,当客户端调用 IAudioClient::GetMixFormat 时,将返回此首选值。

继承

IAudioProcessingObjectPreferredFormatSupport 接口继承自 IUnknown 接口。

方法

IAudioProcessingObjectPreferredFormatSupport 接口具有这些方法。

 
IAudioProcessingObjectPreferredFormatSupport::GetPreferredInputFormat

回调函数,它允许 ADO 为提供的输出格式指定首选输入格式。
IAudioProcessingObjectPreferredFormatSupport::GetPreferredOutputFormat

回调函数,它允许 ADO 为提供的输入格式指定首选输出格式。

要求

   
最低受支持的客户端 Windows 11版本 23H2
标头 audioengineextensionapo.h