Thank you for replying! It seems if I don't resample then nothing works. The line containing wasapiOut.Init(bufferedWaveProvider); throws the following exception if a waveformat of 16bit PCM, 8kHz, 1 channels is passed in. I've included all the code in a zipped dropbox link. Please let me know what I'm doing wrong. I'm coupling the Exacq audio API with the NAudio API. If you need any other information let me know. Do you have a paypal? I'll donate to get this to work.
{System.NotSupportedException: Can't find a supported format to use
at NAudio.Wave.WasapiOut.Init(IWaveProvider waveProvider) in c:\GDIT\Source Code\C#\Kinect Mirror Training\Audio\NAudio\Wave\WaveOutputs\WasapiOut.cs:line 326
at MiddleTier.Audio.AudioPlayer_PcmRaw.<>c__DisplayClass2.<Start>b__0() in c:\GDIT\Source Code\C#\Kinect Mirror Training\MiddleTier.Audio\AudioPlayer_PcmRaw.cs:line 165}
https://www.dropbox.com/s/2khjqx9syg7t22g/ForMarkHeath.zip?dl=0
{System.NotSupportedException: Can't find a supported format to use
at NAudio.Wave.WasapiOut.Init(IWaveProvider waveProvider) in c:\GDIT\Source Code\C#\Kinect Mirror Training\Audio\NAudio\Wave\WaveOutputs\WasapiOut.cs:line 326
at MiddleTier.Audio.AudioPlayer_PcmRaw.<>c__DisplayClass2.<Start>b__0() in c:\GDIT\Source Code\C#\Kinect Mirror Training\MiddleTier.Audio\AudioPlayer_PcmRaw.cs:line 165}
https://www.dropbox.com/s/2khjqx9syg7t22g/ForMarkHeath.zip?dl=0