0
kicks
How to save audio to mp3 on Silverlight 4
As you know Silverlight 4 supports access to the microphone. Besides it can call COM objects on the client side.
To save the audio in mp3 format we need:
Make the COM object wrapper, which allows us to invoke the necessary Alvas.Audio functionality.
Create AlvasCom project as ClassLibrary.
In AssemblyInfo.cs change the line
[assembly: ComVisible(false)]
to
[assembly: ComVisible(true)]
Add a reference to Alvas.Audio.dll
Add Alvas.Audio-wrapper interface and its implementation. See the code below...