Get sample of sound from stereo mix in Windows

∥☆過路亽.° 提交于 2019-12-24 09:20:46

问题


Is there a way in Windows using C# to record a sample of the stereo mix?

In other words, record all pings, beeps and music being played via any application? I've had a look at NAudio which will record the microphone as it's source, but I can't figure out how to point it at Windows' stereo mix?

Or, if anyone knows, any pointers on how to target and record sound from a specific application? For this I'm only concerned with Vista or Windows 7, as both the aforementioned operating systems support mixing applications separately - so I wasn't sure if there was a way to tap into that.

I've looked at WINMM and COREDLL too, but I'm a bit lost.


回答1:


I think first you have to activate the stereo mix device in the control panel, then you should be able to record from it. Check this msdn thread: How to record from 'Wave' or 'Stereo Mix' in Vista.



来源:https://stackoverflow.com/questions/2855782/get-sample-of-sound-from-stereo-mix-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!