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
mtdxc
2025-05-31 23:32:35 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2025-05-31 23:32:35 +0800
Commit
e0ca224b763194519984606d642edc6569abe490
e0ca224b
1 parent
613e8084
fixed mfc build error (#2267)
Co-authored-by: cqm <cqm@97kid.com>
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
sherpa-onnx/csrc/microphone.cc
sherpa-onnx/csrc/microphone.cc
查看文件 @
e0ca224
...
...
@@ -34,9 +34,9 @@ int Microphone::GetDefaultInputDevice() const {
}
void
Microphone
::
PrintDevices
(
int
device_index
)
const
{
PaDeviceIndex
num_devices
=
Pa_GetDeviceCount
();
int
num_devices
=
Pa_GetDeviceCount
();
fprintf
(
stderr
,
"Num devices: %d
\n
"
,
num_devices
);
for
(
int
32_t
i
=
0
;
i
!=
num_devices
;
++
i
)
{
for
(
int
i
=
0
;
i
!=
num_devices
;
++
i
)
{
const
PaDeviceInfo
*
info
=
Pa_GetDeviceInfo
(
i
);
fprintf
(
stderr
,
" %s %d %s
\n
"
,
(
i
==
device_index
)
?
"*"
:
" "
,
i
,
info
->
name
);
...
...
请
注册
或
登录
后发表评论