AudioEncoder enum

Audio encoder to be used for recording.

Inheritance

Constructors

AudioEncoder()
const

Values

aacLc → const AudioEncoder

MPEG-4 AAC Low complexity Will output to MPEG_4 format container.

Suggested file extension: m4a

aacEld → const AudioEncoder

MPEG-4 AAC Enhanced Low Delay Will output to MPEG_4 format container.

Suggested file extension: m4a

aacHe → const AudioEncoder

MPEG-4 High Efficiency AAC (Version 2 if available) Will output to MPEG_4 format container.

Suggested file extension: m4a

amrNb → const AudioEncoder

The AMR (Adaptive Multi-Rate) narrow band speech. sampling rate should be set to 8kHz. Will output to 3GP format container on Android.

Suggested file extension: 3gp

amrWb → const AudioEncoder

The AMR (Adaptive Multi-Rate) wide band speech. sampling rate should be set to 16kHz. Will output to 3GP format container on Android.

Suggested file extension: 3gp

opus → const AudioEncoder

Will output to MPEG_4 format container.

SDK 29 on Android

SDK 11 on iOs

Suggested file extension: opus

flac → const AudioEncoder

Free Lossless Audio Codec

/// Suggested file extension: flac

wav → const AudioEncoder

Waveform Audio (pcm16bit with headers)

Suggested file extension: wav

pcm16bits → const AudioEncoder

Linear PCM 16 bit per sample

Suggested file extension: pcm

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