SoundSample class

Used to represent the mumble sound samples.

All sound samples are mono (one channel)!

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of this sample.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

load({BuildContext? context, AudioFormat format = AudioFormat.wav, AudioSampleRate sampleRate = AudioSampleRate.hz48000}) Future<Uint8List>
Loads the sample in the given format and with the given sampleRate. The sample will always be mono (one channel)!
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stream({BuildContext? context, required int frameTimeMs, AudioFormat format = AudioFormat.s16le, AudioSampleRate sampleRate = AudioSampleRate.hz48000}) Stream<Uint8List>
Streams a sample in approximated real time in frames of duration frameTimeMs. The streamed data will always be mono (one channel)!
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited