I wrote a program in C++ that gets microphone input with WaveIn and analyzes it. I’d love to have the option of changing the input source from microphone input to the sound output from Windows, but I really don’t know how to do that, and many of the search results were in C#, which isn’t helpful to me. The person paying for the application really wants it to be in C++.
Could anyone help me out with a way to capture sound output with WaveIn, or perhaps another API? The program is intended to be run on Windows 7 only, and I’m currently using Visual C++ 2010 to program, if that helps you at all.
As requested, from comments on OP…
You need to select a different recording device. Many Win7 machines have “Stereo Mix” disabled by default
Go to recording devices and right-click the white space under the Microphone entry. You should get an option to Show Disabled. Then, enable Stereo mix and you should be able to select it and use it exactly the same way as you would the microphone