Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i need to write an app. to capture the all audio in the PC, then send to another PC . i think the best way is to write a virtual audio cable and capture the audio from the main buffer.

does anyone has the open code about the virtual audio cable? at least you can tell me how to made it . thanks!
Posted

1 solution

For capturing the sound, you could take a look at the source code for Audacity[^] to see how it does it (Audacity can record from the sound card, although I think that option might depend on the sound card in use).

However it sounds to me as if you want to do something similar to what (optionally) some remote desktop applications[^] do. If you take a look at those listed as having audio support (in the "Features" table near the end of the document), some of them might have associated source code, or specify the protocol that they use. (e.g. the one I've used, UltraVNC[^] uses the RBF protocol[^], but unfortunately that does not support sound. Some of the others that do support sound may similarly have source available or reference protocols, etc).
Just an idea :)

Regards,
Ian.
 
Share this answer
 
v2
Comments
petershl 7-Jun-13 3:38am    
thanks Ian. Can you give me a web link to download the source code for Audacity?

i already achieve send the mic sound. but now ,i need know how to capture the mixer sound in PC.
Ian A Davidson 7-Jun-13 3:44am    
The link is included in my solution.
Regards,
Ian.
petershl 7-Jun-13 3:47am    
Can u give another one? i can not open it.
SoMad 7-Jun-13 4:26am    
Are you sure? That link works for me.

Soren Madsen

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900