AudioProfileType enum

音质档位

Inheritance

Constructors

AudioProfileType()
const

Values

def → const AudioProfileType

默认音质

服务器下发或客户端已设置的 RoomProfile 的音质配置

fluent → const AudioProfileType

流畅音质

单声道,采样率为 16 kHz,编码码率为 32 Kbps。 流畅优先、低功耗、低流量消耗,适用于大部分游戏场景,如小队语音、组队语音、国战语音等。

standard → const AudioProfileType

单声道标准音质

采样率为 24 kHz,编码码率为 48 Kbps。 适用于对音质有一定要求的场景,同时延时、功耗和流量消耗相对适中,适合教育场景和狼人杀等游戏。

hd → const AudioProfileType

双声道音乐音质

采样率为 48 kHz,编码码率为 128 kbps。 超高音质,同时延时、功耗和流量消耗相对较大,适用于连麦 PK 等音乐场景。 游戏场景不建议使用。

standardStereo → const AudioProfileType

双声道标准音质

采样率为 48 KHz,编码码率最大值为 80 Kbps。

hdMono → const AudioProfileType

单声道音乐音质

采样率为 48 kHz,编码码率最大值为 64 Kbps。

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