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
骨灰级
2023-08-10 14:18:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2023-08-10 14:18:23 +0800
Commit
f73a7996671bea6ddd6cca9a490d8eb0bcd89f78
f73a7996
1 parent
a324e0cb
fix go build error (#256)
fix #255
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
go-api-examples/real-time-speech-recognition-from-microphone/main.go
go-api-examples/real-time-speech-recognition-from-microphone/main.go
查看文件 @
f73a799
...
...
@@ -56,7 +56,7 @@ func main() {
defer
sherpa
.
DeleteOnlineRecognizer
(
recognizer
)
stream
:=
sherpa
.
NewOnlineStream
(
recognizer
)
defer
sherpa
.
NewOff
lineStream
(
stream
)
defer
sherpa
.
DeleteOn
lineStream
(
stream
)
// you can choose another value for 0.1 if you want
samplesPerCall
:=
int32
(
param
.
SampleRate
*
0.1
)
// 0.1 second
...
...
请
注册
或
登录
后发表评论