如何在Visual Studio 2013 Express Ed中用C ++从耳机中捕获声音。 [英] How to capture sound from headphones in C++ in Visual Studio 2013 Express Ed.

查看:179
本文介绍了如何在Visual Studio 2013 Express Ed中用C ++从耳机中捕获声音。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请告诉我可以与C ++和Visual Studio 2013 Express Edition以及Windows 7一起使用的库的名称,它可以:

1.从耳机捕获声音(播放到耳机是这样的容易我不需要问)

2.读/写波形(或其他简单格式,无损耗压缩)

3.如果可能/容易:捕获声音从麦克风和模拟麦克风(发送波形文件)



我已经尝试了一些库,但由于MFC中缺少文件而无法编译任何库(afx.h) ,afxwin.h等),因为其中一些在2013年已经过时了。尽管安装了DirectX,SDK和Windows Driver Kit 8.1,但这些文件并不在我的电脑上。

解决方案

​​ http://en.wikipedia.org/wiki/DirectSound [ ^ ]



不容易,很多要做的工作它

Please tell me the name of a library that can be used with C++ and Visual Studio 2013 Express Edition and Windows 7 which enables to:
1. capture sound from headphones (playing to headphones is so easy I don't need to ask)
2. read / write wave format (or other simple format without lossy compression)
3. if possible/easy: capture sound from microphone and simulate microphone (send wave file)

I've tried a few libraries, but can't compile any because of missing files from MFC (afx.h, afxwin.h etc), and because some of them are rather obsolete in 2013. Those files are not on my PC despite installing DirectX, SDK and Windows Driver Kit 8.1.

解决方案

http://en.wikipedia.org/wiki/DirectSound[^]

Not easy, a lot of work to do it


这篇关于如何在Visual Studio 2013 Express Ed中用C ++从耳机中捕获声音。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆