Add C API for spoken language identification. (#695)
This commit is contained in:
@@ -7,8 +7,11 @@ target_link_libraries(decode-file-c-api sherpa-onnx-c-api cargs)
|
||||
add_executable(offline-tts-c-api offline-tts-c-api.c)
|
||||
target_link_libraries(offline-tts-c-api sherpa-onnx-c-api cargs)
|
||||
|
||||
add_executable(spoken-language-identification-c-api spoken-language-identification-c-api.c)
|
||||
target_link_libraries(spoken-language-identification-c-api sherpa-onnx-c-api)
|
||||
|
||||
if(SHERPA_ONNX_HAS_ALSA)
|
||||
add_subdirectory(./asr-microphone-example)
|
||||
else()
|
||||
elseif((UNIX AND NOT APPLE) OR LINUX)
|
||||
message(WARNING "Not include ./asr-microphone-example since alsa is not available")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user