AudioStreamer class
API for streaming raw audio data.
Constructors
- AudioStreamer()
-
Constructs a singleton instance of AudioStreamer.
factory
Properties
-
actualSampleRate
→ Future<
int> -
The actual sampling rate.
no setter
-
audioStream
→ Stream<
List< double> > -
The stream of audio samples.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampleRate ↔ int
-
The sampling rate in Hz. Must be set before the audioStream is used.
Default sample rate of is 44100 Hz.
Note that sampling rate can only be set on Android, not on iOS.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- DEFAULT_SAMPLING_RATE → const int