Add VAD examples using ALSA for recording (#739)
This commit is contained in:
@@ -67,6 +67,7 @@ def get_binaries():
|
||||
"sherpa-onnx-alsa-offline",
|
||||
"sherpa-onnx-alsa-offline-speaker-identification",
|
||||
"sherpa-onnx-offline-tts-play-alsa",
|
||||
"sherpa-onnx-vad-alsa",
|
||||
]
|
||||
|
||||
if is_windows():
|
||||
|
||||
@@ -75,6 +75,10 @@ function(download_openfst)
|
||||
set_target_properties(fst PROPERTIES OUTPUT_NAME "sherpa-onnx-fst")
|
||||
set_target_properties(fstfar PROPERTIES OUTPUT_NAME "sherpa-onnx-fstfar")
|
||||
|
||||
if(LINUX)
|
||||
target_compile_options(fst PUBLIC -Wno-missing-template-keyword)
|
||||
endif()
|
||||
|
||||
target_include_directories(fst
|
||||
PUBLIC
|
||||
${openfst_SOURCE_DIR}/src/include
|
||||
|
||||
Reference in New Issue
Block a user