diff --git a/android/SherpaOnnxVad/app/src/main/java/com/k2fsa/sherpa/onnx/Vad.kt b/android/SherpaOnnxVad/app/src/main/java/com/k2fsa/sherpa/onnx/Vad.kt index fc21593abf..0c19e53106 100644 --- a/android/SherpaOnnxVad/app/src/main/java/com/k2fsa/sherpa/onnx/Vad.kt +++ b/android/SherpaOnnxVad/app/src/main/java/com/k2fsa/sherpa/onnx/Vad.kt @@ -64,6 +64,7 @@ class Vad( private external fun acceptWaveform(ptr: Long, samples: FloatArray) private external fun empty(ptr: Long): Boolean private external fun pop(ptr: Long) + private external fun clear(ptr: Long) private external fun front(ptr: Long): Array private external fun isSpeechDetected(ptr: Long): Boolean private external fun reset(ptr: Long)