API reference
API reference
Select your platform
No SDKs available
No versions available

VoipPCMSourceNative Class

The VoipPCMSource class represents the PCM (pulse code modulation) API. It provides ways to get the pcm data for a user and update the pcm data. Read more about VoIP here.

Methods

GetPCM ( dest , length )
Retrieves the PCM object.
Signature
int Oculus.Platform.VoipPCMSourceNative.GetPCM(float[] dest, int length)
Parameters
dest: float []
length: int
Returns
int
PeekSizeElements ()
Uses the sender ID and will return an int that represents the size of the current PCM data stack.
Signature
int Oculus.Platform.VoipPCMSourceNative.PeekSizeElements()
Returns
int
SetSenderID ( senderID )
Sets the sender ID associated with this Voip source. The ID will belong to a Models.User.
Signature
void Oculus.Platform.VoipPCMSourceNative.SetSenderID(ulong senderID)
Parameters
senderID: ulong
Returns
void
Update ()
Updates the Voip PCM source.
Signature
void Oculus.Platform.VoipPCMSourceNative.Update()
Returns
void