Codec enum

Inheritance

Constructors

Codec()
const

Values

defaultCodec → const Codec

This is the default codec. If used Flutter Sound will use the files extension to guess the codec. If the file extension doesn't match a known codec then Flutter Sound will throw an exception in which case you need pass one of the known codec.

aacADTS → const Codec

AAC codec in an ADTS container

opusOGG → const Codec

OPUS in an OGG container

opusCAF → const Codec

Apple encapsulates its bits in its own special envelope .caf instead of a regular ogg/opus (.opus). This is completely stupid, this is Apple.

mp3 → const Codec

For those who really insist about supporting MP3. Shame on you !

vorbisOGG → const Codec

VORBIS in an OGG container

pcm16 → const Codec

Linear 16 PCM, without envelope

pcm16WAV → const Codec

Linear 16 PCM, which is a Wave file.

pcm16AIFF → const Codec

Linear 16 PCM, which is a AIFF file

pcm16CAF → const Codec

Linear 16 PCM, which is a CAF file

flac → const Codec

FLAC

aacMP4 → const Codec

AAC in a MPEG4 container

amrNB → const Codec

AMR-NB

amrWB → const Codec

AMR-WB

pcm8 → const Codec

Raw PCM Linear 8

pcmFloat32 → const Codec

Raw PCM with 32 bits Floating Points

pcmWebM → const Codec

PCM with a WebM format

opusWebM → const Codec

Opus with a WebM format

vorbisWebM → const Codec

Vorbis with a WebM format

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<Codec>
A constant List of the values in this enum, in order of their declaration.