开发者

Recording sound sent to speakers

开发者 https://www.devze.com 2023-03-05 05:19 出处:网络
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 us

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

0

精彩评论

暂无评论...
验证码 换一张
取 消