API reference

MetaXRAudioNativeInterface Class

Parent class that functions as a scope for all the code that wraps binary interfaces for the Unity, Wwise and FMOD plug-ins.

Member Enumerations

Enumeration ovrAudioScalarType

Enumeration of all the data types that could be used in the binary's interface.
Int8
8-bit signed integer [-128, 127]
UInt8
8-bit unsigned integer [0, 255]
Int16
16-bit signed integer [-32768, 32767]
UInt16
16-bit unsigned integer [0, 65535]
Int32
32-bit signed integer [-2147483648, 21474836]
UInt32
32-bit unsigned integer [0, 4294967295]
Int64
64-bit signed integer [-9223372036854775808, 9223372036854775807]
UInt64
64-bit unsigned integer [0, 184467440737095516]
Float16
16-bit floating point number with 1 bit sign, 10 bits exponent, and 15 bits mantissa
Float32
32-bit floating point number with 1 bit sign, 23 bits exponent, and 23 bits mantissa
Float64
64-bit floating point number with 1 bit sign, 52 bits exponent, and 52 bits mantissa

Properties

The current interface being used by the system.
The first access of this field will trigger a scan for any Meta XR Audio plugin binaries, which are searched for in the following order (taking the first one found and halting any further search):
  1. Meta XR Audio Plugin for Wwise
  2. Meta XR Audio Plugin for FMOD
  3. Meta XR Audio Plugin for Unity
If none are found, Unity is assumed, but attempting to call any of the functions of the returned NativeInterface class result in undefined behavior.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon