C Specification
The xrEnumerateSupportedAudioSampleRateBD function is defined as:
// Provided by XR_BD_spatial_audio_rendering
XrResult xrEnumerateSupportedAudioSampleRateBD(
XrSession session,
uint32_t sampleRateCapacityInput,
uint32_t* sampleRateCountOutput,
XrAudioSampleRateBD* sampleRates);
Parameters
Description
Before creating the XrSpatialAudioRendererBD, applications should
call xrEnumerateSupportedAudioSampleRateBD to enumerate supported
audio sample rates.
Applications must set
XrSpatialAudioRendererCreateInfoBD::sampleRate to one of the
supported sample rates, otherwise the runtime must return
XR_ERROR_VALIDATION_FAILURE from xrCreateSpatialAudioRendererBD.
The values enumerated by this function must not change during the lifetime of an XrInstance.
See Also
Document Notes
For more information, see the OpenXR Specification
This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright 2014-2026 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.