openVad

fun openVad(vadPath: String, vadType: Int): Int

Opens the voice activity detection (VAD) model file.

Return

0 if successful, otherwise an error code.

Parameters

vadPath

Path to the VAD model file.

vadType

Type of the VAD, one of the AILIA_SPEECH_VAD_TYPE_* constants.