Add Java API for speaker identification (#822)

This commit is contained in:
Fangjun Kuang
2024-04-29 21:23:56 +08:00
committed by GitHub
parent 88202f05bb
commit cff207623e
13 changed files with 388 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ public class OfflineTts {
System.loadLibrary("sherpa-onnx-jni");
}
private long ptr = 0; // this is the asr engine ptrss
private long ptr = 0;
public OfflineTts(OfflineTtsConfig config) {
ptr = newFromFile(config);