This extension enables the querying of audio device information associated with an OpenXR instance.
On Windows, there may be multiple audio devices available on the system. This extensions allows applications to query the runtime for the appropriate audio devices for the active HMD.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS
XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS |
| public static final String | XR_OCULUS_AUDIO_DEVICE_GUID_EXTENSION_NAME
The extension name. |
| public static final int | XR_OCULUS_audio_device_guid_SPEC_VERSION
The extension specification version. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nxrGetAudioInputDeviceGuidOculus(XrInstance instance, long buffer)
Unsafe version of: |
| public static int | nxrGetAudioOutputDeviceGuidOculus(XrInstance instance, long buffer)
Unsafe version of: |
| public static int | xrGetAudioInputDeviceGuidOculus(XrInstance
the instance, ByteBuffer XrInstance to query the audio device state in.a fixed size buffer which will contain the audio device GUID. The format of this data matches the IMMDevice::GetId API. buffer)Query the GUID for the active audio input device. |
| public static int | xrGetAudioOutputDeviceGuidOculus(XrInstance
the instance, ByteBuffer XrInstance to query the audio device state in.a fixed size buffer which will contain the audio device GUID. The format of this data matches the IMMDevice::GetId API. buffer)Query the GUID for the active audio output device. |
| XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS | back to summary |
|---|---|
| public static final int XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS | |
| XR_OCULUS_AUDIO_DEVICE_GUID_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_OCULUS_AUDIO_DEVICE_GUID_EXTENSION_NAME The extension name. | |
| XR_OCULUS_audio_device_guid_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_OCULUS_audio_device_guid_SPEC_VERSION The extension specification version. | |
| OCULUSAudioDeviceGuid | back to summary |
|---|---|
| protected OCULUSAudioDeviceGuid() | |
| nxrGetAudioInputDeviceGuidOculus | back to summary |
|---|---|
| public static int nxrGetAudioInputDeviceGuidOculus(XrInstance instance, long buffer) Unsafe version of: | |
| nxrGetAudioOutputDeviceGuidOculus | back to summary |
|---|---|
| public static int nxrGetAudioOutputDeviceGuidOculus(XrInstance instance, long buffer) Unsafe version of: | |
| xrGetAudioInputDeviceGuidOculus | back to summary |
|---|---|
| public static int xrGetAudioInputDeviceGuidOculus(XrInstance instance, ByteBuffer buffer) Query the GUID for the active audio input device. C Specification
Valid Usage (Implicit)
Return Codes
See Also
| |
| xrGetAudioOutputDeviceGuidOculus | back to summary |
|---|---|
| public static int xrGetAudioOutputDeviceGuidOculus(XrInstance instance, ByteBuffer buffer) Query the GUID for the active audio output device. C Specification
Valid Usage (Implicit)
Return Codes
See Also
| |