I am using microphone class to record audio and I can play recorded audio stream using the below code.
SoundEffect sound = new SoundEffect(stream.ToArray(), microphone.SampleRate, AudioChannels.Mono);
soundInstance = sound.CreateInstance();
soundIsPlaying = true;
I need to save this recording in .mp3 format. How can I do this? Please help.
Open source exists for encoding MP3. For WP7 it must be C#, for WP8 it can be C# or C++.
Hope this helps,
Mark Chamberlain Sr. Escalation Engineer | Microsoft Developer Support | Windows Phone 8