private void ConvertAndWriteFDL(IsolatedStorageFileStream fs, Media sound) { using (MemoryStream inputFdlStream = new MemoryStream(sound.Data)) { using (Stream outputWavStream = new WF.Player.Core.Formats.FDL().ConvertToWav(inputFdlStream)) { outputWavStream.CopyTo(fs); } } }