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 JavaPlease 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
精彩评论