A class that is used in OculusPlatform SDK to provide audio source helper functions and fields for high-level audio processing. Is used to hold a PCM source for receiving and decoding VoIP data. Read more about VoIP options here.
Properties
UInt64 senderID
The ID of the sender of the PCM source. This is the User who is the source for the audio.
Fields
AudioSource audioSource[Get]
The AudioSource object that will be used to control the audio source such as muting and unmuting.
float peakAmplitude[Get]
This field is used to indicate the peak ampltitude value of the audio source data.
Represents the PCM source that is used to read analogue data. It is of type IVoipPCMSource.
Protected Functions
void Stop ( )
void Awake ( )
This function is used to initialize the VoipAudioSourceHiLevel. It is used to set up the PCM source and the audio source component attached to the game object.
virtual void CreatePCMSource ( )
Object Data for protected-static-func
static int MSToElements
( int ms )
Converts delay in milliseconds to number of PCM elements to compare against PCM buffer to determine when to initiate playback.