IAudioProcessingObjectPreferredFormatSupport 介面 (audioengineextensionapo.h)

此介面是由 APO 實作,以便指定慣用的輸入或輸出格式。 這可讓 API 宣告可能不同於端點格式的慣用格式。 例如,當用戶端呼叫 IAudioClient::GetMixFormat 時,會傳回這個慣用的值。

繼承

IAudioProcessingObjectPreferredFormatSupport 介面繼承自 IUnknown 介面。

方法

IAudioProcessingObjectPreferredFormatSupport 介面具有這些方法。

 
IAudioProcessingObjectPreferredFormatSupport::GetPreferredInputFormat

回呼函式,可讓 API 指定所提供輸出格式的慣用輸入格式。
IAudioProcessingObjectPreferredFormatSupport::GetPreferredOutputFormat

回呼函式,可讓 API 指定所提供輸入格式的慣用輸出格式。

規格需求

   
最低支援的用戶端 Windows 11 版本 23H2
標頭 audioengineextensionapo.h