NativeBindings
Inherits from:
MagicLeapNativeBindings
Public Methods
bool CreateAudioOutput
public bool CreateAudioOutput()
bool CreateOutputBuffer
public bool CreateOutputBuffer(
uint bufferSizeInBytes,
uint channels,
uint samplesPerSecond,
uint bitsPerSample,
uint validBitsPerSample,
float maxPitch,
uint cacheDuration
)
Parameters
Type | Name | Description |
---|---|---|
uint | bufferSizeInBytes | |
uint | channels | |
uint | samplesPerSecond | |
uint | bitsPerSample | |
uint | validBitsPerSample | |
float | maxPitch | |
uint | cacheDuration |
bool DestroyAudioOutput
public bool DestroyAudioOutput()
bool OnUnityAudio
public bool OnUnityAudio(
float [] data,
uint length
)
Parameters
Type | Name | Description |
---|---|---|
float [] | data | |
uint | length |