This extension enables applications to trigger haptic effects using Pulse Code Modulation (PCM) buffers.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | XR_FB_HAPTIC_PCM_EXTENSION_NAME
The extension name. |
| public static final int | XR_FB_haptic_pcm_SPEC_VERSION
The extension specification version. |
| public static final int | XR_MAX_HAPTIC_PCM_BUFFER_SIZE_FB
API Constants |
| public static final int | XR_TYPE_DEVICE_PCM_SAMPLE_RATE_GET_INFO_FB
Extends |
| public static final int | XR_TYPE_DEVICE_PCM_SAMPLE_RATE_STATE_FB
Extends |
| public static final int | XR_TYPE_HAPTIC_PCM_VIBRATION_FB
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nxrGetDeviceSampleRateFB(XrSession session, long hapticActionInfo, long deviceSampleRate)
Unsafe version of: |
| public static int | xrGetDeviceSampleRateFB(XrSession
the specified session, XrHapticActionInfo XrSession.the hapticActionInfo, XrDevicePcmSampleRateGetInfoFB XrHapticActionInfo used to provide action and subaction pathsa pointer to deviceSampleRate)XrDevicePcmSampleRateStateFB which is populated by the runtime.Get device sample rate. |
| XR_FB_HAPTIC_PCM_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_FB_HAPTIC_PCM_EXTENSION_NAME The extension name. | |
| XR_FB_haptic_pcm_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_FB_haptic_pcm_SPEC_VERSION The extension specification version. | |
| XR_MAX_HAPTIC_PCM_BUFFER_SIZE_FB | back to summary |
|---|---|
| public static final int XR_MAX_HAPTIC_PCM_BUFFER_SIZE_FB API Constants | |
| XR_TYPE_DEVICE_PCM_SAMPLE_RATE_GET_INFO_FB | back to summary |
|---|---|
| public static final int XR_TYPE_DEVICE_PCM_SAMPLE_RATE_GET_INFO_FB Extends Enum values: | |
| XR_TYPE_DEVICE_PCM_SAMPLE_RATE_STATE_FB | back to summary |
|---|---|
| public static final int XR_TYPE_DEVICE_PCM_SAMPLE_RATE_STATE_FB Extends Enum values: | |
| XR_TYPE_HAPTIC_PCM_VIBRATION_FB | back to summary |
|---|---|
| public static final int XR_TYPE_HAPTIC_PCM_VIBRATION_FB Extends Enum values: | |
| FBHapticPcm | back to summary |
|---|---|
| protected FBHapticPcm() | |
| nxrGetDeviceSampleRateFB | back to summary |
|---|---|
| public static int nxrGetDeviceSampleRateFB(XrSession session, long hapticActionInfo, long deviceSampleRate) Unsafe version of: | |
| xrGetDeviceSampleRateFB | back to summary |
|---|---|
| public static int xrGetDeviceSampleRateFB(XrSession session, XrHapticActionInfo hapticActionInfo, XrDevicePcmSampleRateGetInfoFB deviceSampleRate) Get device sample rate. C Specification
DescriptionThe runtime must use the Valid Usage (Implicit)
Return Codes
See Also
| |