Use alsa to read microphone in speaker identification demo. (#605)

This commit is contained in:
Fangjun Kuang
2024-02-23 19:27:51 +08:00
committed by GitHub
parent 16ba7e274a
commit 67acd34dcd
5 changed files with 293 additions and 2 deletions

View File

@@ -167,6 +167,7 @@ class BuildExtension(build_ext):
if enable_alsa():
binaries += ["sherpa-onnx-alsa"]
binaries += ["sherpa-onnx-offline-tts-play-alsa"]
binaries += ["sherpa-onnx-alsa-offline-speaker-identification"]
if is_windows():
binaries += ["kaldi-native-fbank-core.dll"]