C Specification
The XrAudioBufferChannelLayoutBD enumeration describes the channel layout of audio buffers.
// Provided by XR_BD_spatial_audio_rendering
typedef enum XrAudioBufferChannelLayoutBD {
XR_AUDIO_BUFFER_CHANNEL_LAYOUT_INTERLEAVED_BD = 0,
XR_AUDIO_BUFFER_CHANNEL_LAYOUT_PLANAR_BD = 1,
XR_AUDIO_BUFFER_CHANNEL_LAYOUT_MAX_ENUM_BD = 0x7FFFFFFF
} XrAudioBufferChannelLayoutBD;
Description
| Enum | Description |
|---|---|
|
indicates that audio samples from all channels are stored in an interleaved layout, where successive frames contain one sample per channel (e.g. LRLRLR for stereo) |
|
indicates that audio samples are stored in a planar layout, where all samples for one channel are contiguous in memory (e.g. LLL…RRR… for stereo) |
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.