Top Description Fields Constructors Methods
org.lwjgl.openxr

public Class OCULUSAudioDeviceGuid

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

The XR_OCULUS_audio_device_guid extension.

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.

Field Summary

Modifier and TypeField and Description
public static final int
XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS

XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS

public static final String
public static final int
XR_OCULUS_audio_device_guid_SPEC_VERSION

The extension specification version.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
public static int
public static int
xrGetAudioInputDeviceGuidOculus(XrInstance
the XrInstance to query the audio device state in.
instance
,
ByteBuffer
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 XrInstance to query the audio device state in.
instance
,
ByteBuffer
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.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUSback 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_NAMEback to summary
public static final String XR_OCULUS_AUDIO_DEVICE_GUID_EXTENSION_NAME

The extension name.

XR_OCULUS_audio_device_guid_SPEC_VERSIONback to summary
public static final int XR_OCULUS_audio_device_guid_SPEC_VERSION

The extension specification version.

Constructor Detail

OCULUSAudioDeviceGuidback to summary
protected OCULUSAudioDeviceGuid()

Method Detail

nxrGetAudioInputDeviceGuidOculusback to summary
public static int nxrGetAudioInputDeviceGuidOculus(XrInstance instance, long buffer)

Unsafe version of: GetAudioInputDeviceGuidOculus

nxrGetAudioOutputDeviceGuidOculusback to summary
public static int nxrGetAudioOutputDeviceGuidOculus(XrInstance instance, long buffer)

Unsafe version of: GetAudioOutputDeviceGuidOculus

xrGetAudioInputDeviceGuidOculusback to summary
public static int xrGetAudioInputDeviceGuidOculus(XrInstance instance, ByteBuffer buffer)

Query the GUID for the active audio input device.

C Specification

XrResult xrGetAudioInputDeviceGuidOculus(
    XrInstance                                  instance,
    wchar_t                                     buffer[XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS]);
Valid Usage (Implicit)
Return Codes
On success, this command returns
On failure, this command returns
See Also

GetAudioOutputDeviceGuidOculus

Parameters
instance:XrInstance

the XrInstance to query the audio device state in.

buffer:ByteBuffer

a fixed size buffer which will contain the audio device GUID. The format of this data matches the IMMDevice::GetId API.

Annotations
@NativeType:XrResult
xrGetAudioOutputDeviceGuidOculusback to summary
public static int xrGetAudioOutputDeviceGuidOculus(XrInstance instance, ByteBuffer buffer)

Query the GUID for the active audio output device.

C Specification

XrResult xrGetAudioOutputDeviceGuidOculus(
    XrInstance                                  instance,
    wchar_t                                     buffer[XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS]);
Valid Usage (Implicit)
Return Codes
On success, this command returns
On failure, this command returns
See Also

GetAudioInputDeviceGuidOculus

Parameters
instance:XrInstance

the XrInstance to query the audio device state in.

buffer:ByteBuffer

a fixed size buffer which will contain the audio device GUID. The format of this data matches the IMMDevice::GetId API.

Annotations
@NativeType:XrResult