This project has moved. For the latest updates, please go here.

IEEEFloat?

Feb 28, 2011 at 3:35 AM

Wondering if anyone knows where I've gone wrong here... i'm using the CreateInputStream function from the demo in a separate class for a multisample mixer, I'm wondering about readerStream.WaveFormat.Encoding, as when I run my constructor to create a sample, it hits the inputStream = new WaveChannel32(readerStream); from the demo code, then it throws an Application Exception: Only PCM supported... right before it hits this line i write to console the readerStream.WaveFormat.Encoding property to check, and it is indeed PCM, however, in the WaveChannel32 constructor it is passed to, it apparently becomes an IEEE Float and throws this exception... any idea what i may have done wrong here?

Coordinator
Feb 28, 2011 at 1:46 PM

WaveChannel32 takes PCM 16 bit input and gives IEEE output.

What exactly is the waveformat of the input you are passing to WaveChannel32? (do a .ToString() on it)

Mark