while playing this wav file in windows phone 7 its getting error.
var stream = TitleContainer.OpenStream("TestSound.WAV");
var effect = SoundEffect.FromStream(stream);
FrameworkDispatcher.Update();
effect.Play();
And Its getting this exception on second line of code.
Ensure that the specified stream contains valid PCM mono or stereo wave data.