Help on using BufferedWaveProvider

Apr 17 at 11:36 PM
I have a UDP stream of sampled audio arriving at my application. I can process the stream and retrieve the data from the UDP packets. This audio looks like a stereo two channel group of bytes. It really is sampled I and Q data from a remote DSP that is sending the data to the local port. All of the network stuff works OK. My question is how to choose an appropriate WaveFormat to provide for the argument of the BufferedWaveProvider. I need to separate the two channels, re-arrange two adjacent bytes into a 16 bit word, then save the separate I and Q words into separate buffers that I can pass to an FFT engine as floating point buffers. Any help would be appreciated.
Regards, Karin
Apr 21 at 9:21 PM
If you dont know the waveformat, you cant process the data ... lol
Apr 22 at 11:50 PM
Gotcha... thanks after a day of messing around I found out what I need to do. Now on to other things. Karin