Kotlin API for speaker diarization (#1415)

This commit is contained in:
Fangjun Kuang
2024-10-11 14:41:53 +08:00
committed by GitHub
parent eefc172095
commit 2d412b1190
7 changed files with 412 additions and 1 deletions

View File

@@ -33,6 +33,12 @@ if(SHERPA_ONNX_ENABLE_TTS)
)
endif()
if(SHERPA_ONNX_ENABLE_SPEAKER_DIARIZATION)
list(APPEND sources
offline-speaker-diarization.cc
)
endif()
add_library(sherpa-onnx-jni ${sources})
target_compile_definitions(sherpa-onnx-jni PRIVATE SHERPA_ONNX_BUILD_SHARED_LIBS=1)