Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |