为什么waveInGetNumDevs 总是返回0?

发布于 2024-10-16 12:02:16 字数 177 浏览 4 评论 0原文

几周前,waveInGetNumDevs 函数运行良好,但从几天前开始,它一直返回 0。我的声卡没问题,但是为什么会出现这种情况?我实际上正在尝试为 DSPACK 创建音频可视化。我不知道如何连接WaveInTFilterGraph;我什至无法处理音频输入:(

A few weeks ago waveInGetNumDevs function was working well but since few days ago it's been returning 0 all the time. My sound card is OK but why does this happen? I'm actually trying to create an audio visualization for DSPACK. I don't know how to connect WaveIn and TFilterGraph; and I can't even handle the audio input :(

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

森林很绿却致人迷途 2024-10-23 12:02:16

看来确实和你更新DirectX有关系。您是否尝试过在调用 waveInGetNumDevs 后调用“GetLastError”?也许您会明白为什么总是返回 0 开发者。

您还应该使用一些外部应用程序尝试音频输入本身。您可能会发现它并不完全有效,您可能只需要调整卡上的某些设置即可。

还有就是看看你的卡的驱动是否支持更新的DirectX版本!

祝你好运!

It seems indeed that it has something to do with your updating DirectX. Have you tried calling "GetLastError" after the call of waveInGetNumDevs? Maybe you will get to know why you get 0 devs returned all the time.

You should also try the audio input itself with some external app. You might find that it doesn't work altogether and you may simply need to adjust some setting on your card.

Another thing is to see if the driver of your card supports the updated DirectX version!

Good luck!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文