C Specification
The XrSoundFieldConfigBD structure is defined as:
// Provided by XR_BD_spatial_audio_rendering
typedef struct XrSoundFieldConfigBD {
XrStructureType type;
const void* next;
XrBool32 enabled;
XrQuaternionf orientation;
XrSpace baseSpace;
float mainVolume;
float lfeGain;
} XrSoundFieldConfigBD;
Members
Description
The behavior below specifies how the runtime renders audio when tracking
quality changes for the baseSpace.
-
While the
baseSpacepose is valid, but not tracked (i.e. xrLocateSpace reports its location withXR_SPACE_LOCATION_POSITION_VALID_BITandXR_SPACE_LOCATION_ORIENTATION_VALID_BITset, but notXR_SPACE_LOCATION_POSITION_TRACKED_BITandXR_VIEW_STATE_POSITION_TRACKED_BIT), the runtime must keep rendering the sound field using the most recent valid pose of that space. -
While the
baseSpacepose is neither valid nor tracked (i.e. xrLocateSpace reports its location with eitherXR_SPACE_LOCATION_POSITION_VALID_BITorXR_SPACE_LOCATION_ORIENTATION_VALID_BITunset), the runtime should keep rendering the sound field using the most recent valid position and orientation of that space relative to its parent.
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.