简体   繁体   中英

Recording sound sent to speakers

I'm trying to make a program which allows me to capture every sound which I can hear through my speakers. I don't have any idea how I can do this... I want to send it to another PC using sockets (how can I do this?). I want to write it in Java or C++ (I definitely prefer Java) on Windows.


Edit
Inshort, I want to send & receive Audio input using Java

Please help, Chris

For Windows 7 you can do this using WASAPI (see my answer to a similar question here ). In order to use WASAPI I would recommend to use either C++ or some .net based language (C#, vb.net, etc) For other versions of Windows, you will need an intermediate virtual sound card, and you will only be able to capure the audio streams that go through this virtual driver. There is a commercial option here ,but I am sure there are others.

One more link here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM