Win 7 SndVol 混合器如何工作?其中使用了哪些WinAPI函数?

发布于 2024-12-29 10:47:12 字数 666 浏览 2 评论 0 原文

所以我想知道我需要使用哪些 Windows API 函数来获取如图所示的信息(SndVol Mixer)。黄色突出显示的内容更有趣。

https://i.sstatic.net/IeQhQ.png (图片)

这就是应用程序有音频波输出,还读取其音频表输出。当它变得活跃时。然后还从应用程序获取卷。

现在我希望能够通过 winmm.dll 或内部 Windows API 调用来完成此操作。 因为我将使用 AHK (AutoHotKeys) 编写应用程序,所以

这里有一些我认为相关的函数:

waveOutGetNumDevs

waveOutGetID

MixerGetNumDevs

MixerGetID

使用的系统是 Win 7。如果您可以将我转发到使用函数的任何类型的教程。我会很高兴。

这是我读过的一些内容:

http://www.autohotkey.com /forum/viewtopic.php?t=23792

So I was wondering what Windows API functions I'd need to use to get info as in this pic (SndVol Mixer). What's yellow highlighted is more interesting.

https://i.sstatic.net/IeQhQ.png (The Image)

That's the Applications that have audio waveOutput, also reading its audio meter output. When it becomes active. Then also acquiring the volume from the Applications.

Now I'd like to be able doing this through the winmm.dll or internal Windows API calls.
As I'll be writing the app using AHK (AutoHotKeys)

Here's a few function i belive are relevant:

waveOutGetNumDevs

waveOutGetID

or

mixerGetNumDevs

mixerGetID

The system used is Win 7. If you can forward me to any sort of tutorials where functions are used. I would be very happy.

This is what I've read some what:

http://www.autohotkey.com/forum/viewtopic.php?t=23792

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

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

发布评论

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

评论(1

梦幻之岛 2025-01-05 10:47:12

在 Vista+ 中,wave/mixer/multimedia API 已被弃用,并且其范围仅限于您自己的应用程序。
要使用 Vista+ 中的新功能,您需要查看 核心音频 API

The wave/mixer/multimedia API has been deprecated in Vista+ and is limited in scope to your own application.
To use the new features in Vista+, you need to look at the Core Audio API.

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