AudioFormat enum

Bit depth. 8 bit means each sample consists of 1 byte 16 bit means each sample consists of 2 consecutive bytes, in little endian 24 bit is currently not supported (cause nobody needs this) 32 bit means each sample consists of 4 consecutive bytes, in little endian float is the same as 32 bit, except it represents a floating point number

Inheritance

Constructors

AudioFormat()
const

Values

ENCODING_PCM_8BIT → const AudioFormat
ENCODING_PCM_16BIT → const AudioFormat
ENCODING_PCM_FLOAT → const AudioFormat
ENCODING_PCM_32BIT → const AudioFormat

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

values → const List<AudioFormat>
A constant List of the values in this enum, in order of their declaration.