所以我想知道我需要使用哪些 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
发布评论
评论(1)
在 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.