Support scaling the duration of a pause in TTS. (#1820)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user