public interface INVad
Modifier and Type | Method and Description |
---|---|
void |
feed(byte[] chanel0,
byte[] chanel1,
byte[] chanel2,
byte[] chanel3)
feed 音频,4通道音频
|
void |
init(LocalVadConfig config,
NVadListener listener)
初始化
|
void |
notifySSL(int index)
外部通知SSL定位结果,此时vad引擎需要开始外抛过了vad的音频
|
void |
release()
释放引擎
|
void |
start(SpeechParams params)
启动
|
void |
stop()
通知引擎
|
void init(LocalVadConfig config, NVadListener listener)
config
- vad 初始化参数listener
- 回调void start(SpeechParams params)
params
- 启动参数void feed(byte[] chanel0, byte[] chanel1, byte[] chanel2, byte[] chanel3)
chanel0
- 0通信音频数据chanel1
- 1通信音频数据chanel2
- 2通信音频数据chanel3
- 3通信音频数据void stop()
void release()
void notifySSL(int index)
index
- 音频通道