TensorAudioFormat class
Wraps a few constants describing the format of the incoming audio samples, namely number of channels and the sample rate. By default, channels is set to 1.
Properties
- channelCount → int
-
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
-
no setter
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
Static Methods
-
create(
int channelCount, int sampleRate) → TensorAudioFormat
Constants
- DEFAULT_CHANNELS → const int