IAudioProcessingObjectPreferredFormatSupport::GetPreferredOutputFormat 方法 (audioengineextensionapo.h)
允許 APO 為提供的輸入格式指定慣用輸出格式的回呼函式。
語法
HRESULT GetPreferredOutputFormat(
[in] IAudioMediaType *inputFormat,
[out] IAudioMediaType **preferredFormat
);
參數
[in] inputFormat
IAudioMediaType,代表與回呼相關聯的輸入格式。
[out] preferredFormat
IAudioMediaType,代表 APO 慣用的輸入格式。
傳回值
HRESULT。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows 11 版本 23H2 |
標頭 | audioengineextensionapo.h |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應