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
yangjun
2025-08-19 18:31:34 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2025-08-19 18:31:34 +0800
Commit
6eac1af8ac17bdab179fc7814466b2943de8c5f7
6eac1af8
1 parent
8fa9f8ea
Fix ctrl+c may lead to coredump (#2511)
显示空白字符变更
内嵌
并排对比
正在显示
8 个修改的文件
包含
23 行增加
和
0 行删除
.gitignore
cxx-api-examples/parakeet-tdt-ctc-simulate-streaming-microphone-cxx-api.cc
cxx-api-examples/parakeet-tdt-simulate-streaming-microphone-cxx-api.cc
cxx-api-examples/sense-voice-simulate-streaming-alsa-cxx-api.cc
cxx-api-examples/sense-voice-simulate-streaming-microphone-cxx-api.cc
cxx-api-examples/zipformer-ctc-simulate-streaming-alsa-cxx-api.cc
cxx-api-examples/zipformer-ctc-simulate-streaming-microphone-cxx-api.cc
cxx-api-examples/zipformer-transducer-simulate-streaming-microphone-cxx-api.cc
.gitignore
查看文件 @
6eac1af
...
...
@@ -135,6 +135,7 @@ us_silver.json
kokoro-multi-lang-v1_0
sherpa-onnx-fire-red-asr-large-zh_en-2025-02-16
cmake-build-debug
cmake-build-release
README-DEV.txt
*.rknn
*.jit
...
...
cxx-api-examples/parakeet-tdt-ctc-simulate-streaming-microphone-cxx-api.cc
查看文件 @
6eac1af
...
...
@@ -165,6 +165,9 @@ int32_t main() {
while
(
samples_queue
.
empty
()
&&
!
stop
)
{
condition_variable
.
wait
(
lock
);
}
if
(
stop
)
{
break
;
}
const
auto
&
s
=
samples_queue
.
front
();
if
(
!
resampler
.
Get
())
{
...
...
cxx-api-examples/parakeet-tdt-simulate-streaming-microphone-cxx-api.cc
查看文件 @
6eac1af
...
...
@@ -172,6 +172,9 @@ int32_t main() {
while
(
samples_queue
.
empty
()
&&
!
stop
)
{
condition_variable
.
wait
(
lock
);
}
if
(
stop
)
{
break
;
}
const
auto
&
s
=
samples_queue
.
front
();
if
(
!
resampler
.
Get
())
{
...
...
cxx-api-examples/sense-voice-simulate-streaming-alsa-cxx-api.cc
查看文件 @
6eac1af
...
...
@@ -172,6 +172,9 @@ as the device_name.
while
(
samples_queue
.
empty
()
&&
!
stop
)
{
condition_variable
.
wait
(
lock
);
}
if
(
stop
)
{
break
;
}
const
auto
&
s
=
samples_queue
.
front
();
buffer
.
insert
(
buffer
.
end
(),
s
.
begin
(),
s
.
end
());
...
...
cxx-api-examples/sense-voice-simulate-streaming-microphone-cxx-api.cc
查看文件 @
6eac1af
...
...
@@ -167,6 +167,10 @@ int32_t main() {
condition_variable
.
wait
(
lock
);
}
if
(
stop
)
{
break
;
}
const
auto
&
s
=
samples_queue
.
front
();
if
(
!
resampler
.
Get
())
{
buffer
.
insert
(
buffer
.
end
(),
s
.
begin
(),
s
.
end
());
...
...
cxx-api-examples/zipformer-ctc-simulate-streaming-alsa-cxx-api.cc
查看文件 @
6eac1af
...
...
@@ -170,6 +170,9 @@ as the device_name.
while
(
samples_queue
.
empty
()
&&
!
stop
)
{
condition_variable
.
wait
(
lock
);
}
if
(
stop
)
{
break
;
}
const
auto
&
s
=
samples_queue
.
front
();
buffer
.
insert
(
buffer
.
end
(),
s
.
begin
(),
s
.
end
());
...
...
cxx-api-examples/zipformer-ctc-simulate-streaming-microphone-cxx-api.cc
查看文件 @
6eac1af
...
...
@@ -164,6 +164,9 @@ int32_t main() {
while
(
samples_queue
.
empty
()
&&
!
stop
)
{
condition_variable
.
wait
(
lock
);
}
if
(
stop
)
{
break
;
}
const
auto
&
s
=
samples_queue
.
front
();
if
(
!
resampler
.
Get
())
{
...
...
cxx-api-examples/zipformer-transducer-simulate-streaming-microphone-cxx-api.cc
查看文件 @
6eac1af
...
...
@@ -172,6 +172,9 @@ int32_t main() {
while
(
samples_queue
.
empty
()
&&
!
stop
)
{
condition_variable
.
wait
(
lock
);
}
if
(
stop
)
{
break
;
}
const
auto
&
s
=
samples_queue
.
front
();
if
(
!
resampler
.
Get
())
{
...
...
请
注册
或
登录
后发表评论