Support scaling the duration of a pause in TTS. (#1820)

This commit is contained in:
Fangjun Kuang
2025-02-08 12:47:26 +08:00
committed by GitHub
parent d38cb81014
commit 69f489f0cd
24 changed files with 171 additions and 19 deletions

View File

@@ -116,7 +116,7 @@ int32_t main() {
keywords_spotter_config.keywords_buf = keywords_buf;
keywords_spotter_config.keywords_buf_size = keywords_buf_size;
SherpaOnnxKeywordSpotter *keywords_spotter =
const SherpaOnnxKeywordSpotter *keywords_spotter =
SherpaOnnxCreateKeywordSpotter(&keywords_spotter_config);
free((void *)tokens_buf);
@@ -130,7 +130,7 @@ int32_t main() {
return -1;
}
SherpaOnnxOnlineStream *stream =
const SherpaOnnxOnlineStream *stream =
SherpaOnnxCreateKeywordStream(keywords_spotter);
const SherpaOnnxDisplay *display = SherpaOnnxCreateDisplay(50);