I was wondering if it is possible to read speaker output from XNA. For instance, if the user plays a song via Spotify or Youtube, the application can read the output stream and get the spectrum data. My platform is Windows.
Thanks,
Kevin
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unfortunately, these days it depends on the sound card/driver. If the “stereo mix” pin (as it is typically, but not always, named) is available for recording from, then yes. If not, no.
The only way around that is to use a loopback sound driver.