AudioPropertiesInfo class Null safety
音频属性信息
Constructors
-
AudioPropertiesInfo({required int linearVolume, required int nonlinearVolume, required int vad, required List<
double> spectrum}) - AudioPropertiesInfo.fromMap(Map map)
-
factory
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- linearVolume ↔ int
-
线性音量,与原始音量呈线性关系,数值越大,音量越大。取值范围是:
0,255。 [...]read / write - nonlinearVolume ↔ int
-
非线性音量,由原始音量的对数值转化而来,因此在中低音量时更灵敏,可以用作 Active Speaker(房间内最活跃用户)的识别。取值范围是:
-127,0,单位:dB。 [...]read / write - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
spectrum
↔ List<
double> -
频谱数组
read / write
- vad ↔ int
-
人声检测(VAD)结果 [...]
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited