Class AudioInput
Use this class to record audio from the built-in Unity audio system.
Implements
Inherited Members
Namespace: UnityEditor.Recorder.Input
Assembly: solution.dll
Syntax
public class AudioInput : RecorderInput, IDisposable
Properties
Name | Description |
---|---|
AudioSettings | The settings of the audio input. |
ChannelCount | The number of channels in the audio input. |
SampleRate | The sampling rate, in hertz. |
Methods
Name | Description |
---|---|
BeginRecording(RecordingSession) | |
EndRecording(RecordingSession) | |
FrameDone(RecordingSession) | |
GetBuffer(ref NativeArray<float>, out int) | Get the buffer of audio samples. |
GetBufferSize() | Get the size of the buffer of audio samples (including all channels). |
NewFrameReady(RecordingSession) |