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++.
Bing search: open source mp3 encoder
Hope this helps,
Mark Chamberlain Sr. Escalation Engineer | Microsoft Developer Support | Windows Phone 8
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?