This project has moved and is read-only. For the latest updates, please go here.

Audio doesn't work over network

Nov 28, 2011 at 5:48 PM

So I'm trying to record mic input and send it over the network to make a chat program.  I have tested both the sample application from NAudio and making my own application which just uses a basic G.711 a-law codec, but I can't get either to actually play the audio when it's sent over the network.  They are both confirmed working when is used though, and I have also verified that the ports are open and have sent other data (files and video) through the same port and successfully received.  If I put a breakpoint I can even see the audio data coming through, but it just refuses to play.  I'm using the BufferedWaveProvider and WaveOut to play the audio.  Any ideas what might cause this?

Dec 12, 2011 at 11:54 AM

does the NAudioDemo app not work? Can you debug to see if the BufferedWaveProvider is filling up with data?