ZegoCustomAudioProcessConfig class

自定义音频处理配置对象

包括自定义音频采集类型,采样率,通道数,采样数等参数

Constructors

ZegoCustomAudioProcessConfig(ZegoAudioSampleRate sampleRate, ZegoAudioChannel channel, int samples)
ZegoCustomAudioProcessConfig.defaultConfig()

Properties

channel ZegoAudioChannel
声道数,App 中音频前处理模块期望的输入数据声道数。如果为 0,则默认为 SDK 内部声道数
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleRate ZegoAudioSampleRate
采样率,App 中音频前处理模块期望的输入数据采样率。如果为 0,则默认为 SDK 内部采样率。
getter/setter pair
samples ↔ int
编码一帧所需要的采样数;如果 samples = 0,则使用 SDK 内部采样数,SDK 将音频数据传递给外部前处理模块;如果 samples != 0(则samples 的有效取值在 160, 2048 间),SDK 会传递设定采样数长度的音频数据给外部预处理模块。
getter/setter pair

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