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

BaseAudioClipInput Class

An abstract class for IAudioInputSources that use audio clips

Properties

The audio clip generated
The current total samples written to the audio clip
Whether audio can be activated
The total length in ms for the samples
Generates an audio encoding object using the existing settings
Whether audio is activated or not, independent of record state
Whether the audio has begun recording or not

Fields

Whether audio should be activated as soon as enabled
The audio channels expected for this
The audio sample rate that should be captured at
Ignore audio input below 0.5f magnitude
Allow max audio input magnitude

Events

Callbacks for audio activation, independent of record state
Callback when successfully started recording
Callback if recording request failed
Callback when successfully stopped recording
Callback for audio sample read from Audio Clip

Protected Functions

Setter for activation state changes
If activate on enable, begin activation immediately
Perform audio activation in child class
Stop recording if disabled
Deactivate current audio immediately

Member Functions

Begins reading with a specified number of ms per sample
Stop recording audio from the provided mic source
Did you find this page helpful?
Thumbs up icon
Thumbs down icon