Starts recording audio with the specified sample length.
Parameters
sampleLen
The length of the audio sample to record.
void StopRecording ( )
Stops recording audio.
void CheckForInput ( )
bool SetActiveClip
( string clipName )
void AddClip
( AudioClip clip )
Static Member Functions
static float [] QuickResample
( float [] oldSamples,
int oldChannels,
int oldSampleRate,
int newChannels,
int newSampleRate )
Resamples the audio clip to match the current AudioEncoding since AudioBuffer resamples based on the AudioEncoding. This allows for transmission of clips with different sample rates and channel counts.