AudioMixingError enum

音频错误码

Inheritance
Available extensions

Values

ok → const AudioMixingError

正常

preloadFailed → const AudioMixingError

预加载失败,找不到混音文件或者文件长度超出 20s

startFailed → const AudioMixingError

混音开启失败。找不到混音文件或者混音文件打开失败

idNotFound → const AudioMixingError

混音 ID 异常

setPositionFailed → const AudioMixingError

设置混音文件的播放位置出错

invalidVolume → const AudioMixingError

音量参数不合法,仅支持将音量值设置在 [0, 400] 范围内

loadConflict → const AudioMixingError

播放的文件与预加载的文件不一致,请先使用 RTCAudioEffectPlayer.unload 卸载文件

idTypeNotMatch → const AudioMixingError

当前混音类型不支持

idTypeInvalidPitch → const AudioMixingError

混音文件音调设置无效

invalidAudioTrack → const AudioMixingError

混音文件音轨设置无效

isStarting → const AudioMixingError

混音文件正在启动中

invalidPlaybackSpeed → const AudioMixingError

混音文件播放速度设置无效

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