Recorder class final
Constructors
Properties
- availableFloatCount → int
-
Gets available float from the recorder.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInit → bool
-
no setter
- isRecording → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Disposes of the recorder resources.
-
getBuffer(
int floatsToRead) → Float32List - Gets the recorded buffer.
-
initFile(
String filename, {int sampleRate = 44100, int channels = 1, SoundFormat format = SoundFormat.f32}) → Future< void> - Initializes the recorder to save to a file.
-
initStream(
{int sampleRate = 44100, int channels = 1, SoundFormat format = SoundFormat.f32, double bufferLenS = 5.0}) → Future< void> - Initializes the recorder for streaming.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → void - Starts recording.
-
stop(
) → void - Stops recording.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited