I\'m trying to build a program in C# that will allow me to stream audio and video from one computer, over the network, to another computer, which is hooked up to a bunch of
If you already have the Video side figured out; NAudio is a good way to handle the Audio component.
Assuming we break the task in to the recording and then the receiving and playing components then the following should help you with each side;
The recording: http://opensebj.blogspot.com/2009/04/naudio-tutorial-5-recording-audio.html
The receiving and playing: Play audio from a stream using C#
The method of transport in between is up to you but if you already have a way of sending a stream between two computers you should be able to reuse that. Just make sure your buffer is big enough that there is always data to play back on the receiving computer.
Have a look at the code in this article , it needs to be modified quite a bit to be able to stream the output over the network , but that should not be hard enough. http://www.csharpfriends.com/Forums/ShowPost.aspx?PostID=19102
In Windows, the audio card manufacturers could choose to supply a "what you hear" input stream in order for you to capture the output. If your sound card/driver doesn't have this feature, you could try to use the Virtual Audio Cable to perform the same thing.
In Windows 7, there's a new functionality that allows you to listen to / capture any input stream directly.