AudioSampleRate enum

音频采样率,单位为 Hz

Inheritance

Constructors

AudioSampleRate()
const

Values

auto → const AudioSampleRate

默认设置。48000Hz。

rate8000 → const AudioSampleRate

8000Hz

rate16000 → const AudioSampleRate

16000Hz

rate32000 → const AudioSampleRate

32000Hz

rate44100 → const AudioSampleRate

44100Hz

rate48000 → const AudioSampleRate

48000Hz

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
index → int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

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<AudioSampleRate>
A constant List of the values in this enum, in order of their declaration.
[auto, rate8000, rate16000, rate32000, rate44100, rate48000]