IAudioProcessingObjectPreferredFormatSupport::GetPreferredOutputFormat method (audioengineextensionapo.h)
Callback function that allows APOs to specify a preferred output format for the provided input format.
Syntax
HRESULT GetPreferredOutputFormat(
[in] IAudioMediaType *inputFormat,
[out] IAudioMediaType **preferredFormat
);
Parameters
[in] inputFormat
An IAudioMediaType representing the input format associated with the callback.
[out] preferredFormat
An IAudioMediaType representing the preferred input format for the APO.
Return value
An HRESULT.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11, version 23H2 |
Header | audioengineextensionapo.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for