IAudioFormatEnumerator::GetFormat method (spatialaudioclient.h)
Gets the format with the specified index in the list. The formats are listed in order of importance. The most preferable format is first in the list.
Syntax
HRESULT GetFormat(
[in] UINT32 index,
[out] WAVEFORMATEX **format
);
Parameters
[in] index
The index of the item in the list to retrieve.
[out] format
Pointer to a pointer to a WAVEFORMATEX structure describing a supported audio format.
Return value
If the method succeeds, it returns S_OK.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | spatialaudioclient.h |
See also
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