Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Fangjun Kuang
2024-09-20 11:44:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-09-20 11:44:25 +0800
Commit
73c90ec871706318795e2b14af2cd3525d2a610a
73c90ec8
1 parent
647b63ea
Fix swift example for generating subtitles. (#1362)
We need to invoke vad.flush() at the end.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
swift-api-examples/generate-subtitles.swift
swift-api-examples/generate-subtitles.swift
查看文件 @
73c90ec
...
...
@@ -179,6 +179,7 @@ func run() {
vad
.
acceptWaveform
(
samples
:
[
Float
](
array
[
offset
..<
end
]))
}
vad
.
flush
()
var
index
:
Int
=
0
while
!
vad
.
isEmpty
()
{
let
s
=
vad
.
front
()
...
...
请
注册
或
登录
后发表评论