Package org.lwjgl.openxr
Class OCULUSAudioDeviceGuid
- java.lang.Object
-
- org.lwjgl.openxr.OCULUSAudioDeviceGuid
-
public class OCULUSAudioDeviceGuid extends java.lang.ObjectThe OCULUS_audio_device_guid extension.
-
-
Field Summary
Fields Modifier and Type Field Description static intXR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUSXR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUSstatic java.lang.StringXR_OCULUS_AUDIO_DEVICE_GUID_EXTENSION_NAMEThe extension name.static intXR_OCULUS_audio_device_guid_SPEC_VERSIONThe extension specification version.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intnxrGetAudioInputDeviceGuidOculus(org.lwjgl.openxr.XrInstance instance, long buffer)Unsafe version of:GetAudioInputDeviceGuidOculusstatic intnxrGetAudioOutputDeviceGuidOculus(org.lwjgl.openxr.XrInstance instance, long buffer)Unsafe version of:GetAudioOutputDeviceGuidOculusstatic intxrGetAudioInputDeviceGuidOculus(org.lwjgl.openxr.XrInstance instance, java.nio.ByteBuffer buffer)Query the GUID for the active audio input device.static intxrGetAudioOutputDeviceGuidOculus(org.lwjgl.openxr.XrInstance instance, java.nio.ByteBuffer buffer)Query the GUID for the active audio output device.
-
-
-
Field Detail
-
XR_OCULUS_audio_device_guid_SPEC_VERSION
public static final int XR_OCULUS_audio_device_guid_SPEC_VERSION
The extension specification version.- See Also:
- Constant Field Values
-
XR_OCULUS_AUDIO_DEVICE_GUID_EXTENSION_NAME
public static final java.lang.String XR_OCULUS_AUDIO_DEVICE_GUID_EXTENSION_NAME
The extension name.- See Also:
- Constant Field Values
-
XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS
public static final int XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS
XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS- See Also:
- Constant Field Values
-
-
Method Detail
-
nxrGetAudioOutputDeviceGuidOculus
public static int nxrGetAudioOutputDeviceGuidOculus(org.lwjgl.openxr.XrInstance instance, long buffer)Unsafe version of:GetAudioOutputDeviceGuidOculus
-
xrGetAudioOutputDeviceGuidOculus
public static int xrGetAudioOutputDeviceGuidOculus(org.lwjgl.openxr.XrInstance instance, java.nio.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)
- The
XR_OCULUS_audio_device_guidextension must be enabled prior to callingGetAudioOutputDeviceGuidOculus instancemust be a validXrInstancehandlebuffermust be a wide character array of lengthMAX_AUDIO_DEVICE_STR_SIZE_OCULUS
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
instance- theXrInstanceto query the audio device state in.buffer- a fixed size buffer which will contain the audio device GUID. The format of this data matches the IMMDevice::GetId API.
- The
-
nxrGetAudioInputDeviceGuidOculus
public static int nxrGetAudioInputDeviceGuidOculus(org.lwjgl.openxr.XrInstance instance, long buffer)Unsafe version of:GetAudioInputDeviceGuidOculus
-
xrGetAudioInputDeviceGuidOculus
public static int xrGetAudioInputDeviceGuidOculus(org.lwjgl.openxr.XrInstance instance, java.nio.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)
- The
XR_OCULUS_audio_device_guidextension must be enabled prior to callingGetAudioInputDeviceGuidOculus instancemust be a validXrInstancehandlebuffermust be a wide character array of lengthMAX_AUDIO_DEVICE_STR_SIZE_OCULUS
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
instance- theXrInstanceto query the audio device state in.buffer- a fixed size buffer which will contain the audio device GUID. The format of this data matches the IMMDevice::GetId API.
- The
-
-