如何使用C ++以编程方式启用立体声混合? [英] How to enable stereo mix programatically using C++?
问题描述
我正在Windows 7上使用Microsoft Visual Studio 2008开发多媒体程序。
但我10天内无法解决这个问题。
我想在运行时以编程方式启用或禁用立体声混音。
如您所知,立体声混音可以说是虚拟音频源来捕捉或发送正在输出的听到我的声音来自我的电脑。
我尝试使用devcon等等。
但我在google搜索的任何解决方案都失败了。
我已经问过这个问题,但我认为没有回答者,因为我的问题不正确。
所以我再问一次。 br />
Devcon找不到立体声混音设备。
我想用C ++知道这个解决方案。 div class =h2_lin>解决方案
查看如何枚举系统上的音频端点(IMMDevice)属性 [ ^ ]
使用 IMMDevice界面 [ ^ ]其中将您直接放入一堆有用的API
I am developing multimedia program using Microsoft Visual Studio 2008 on Windows 7.
But I can't solve this problem for 10 days.
I want to enable or disable stereo mix programatically in runtime.
As you know, stereo mix can be said as virtual audio source to capture or send "hear-me-voice" that is outputting from my computer.
I tried with devcon and so on.
But I've failed in any solutions on googling.
I have already asked this question, but I think that there is no answerer, because my questions were not correct.
So I asked again.
Devcon doesn't find stereo mix device.
I want to know this solution using C++.
have a look at How to enumerate audio endpoint (IMMDevice) properties on your system[^]
That uses the IMMDevice interface[^] which drops you right into a bunch of useful APIs
这篇关于如何使用C ++以编程方式启用立体声混合?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!