views:

17

answers:

1

Hi There, Does anyone know of any library to convert .caf files or .aif audio files to mp3 format. Im recording these on iPhone using AVAudioRecorder pibrary but need to convert them to mp3 on server side. Your help is much appreciated. Really stuck on this one.

A: 

Have a look at the LAME library. It's the encoder used by Audacity amongst other applications.

Kynth
HEy, Thanks for answer.Im looking for a way to do this programatically using .net as using LAME with audicaty is not an option for us.Many Thanks
TonyNeallon
There isn't a pure .Net solution that I'm aware of. In this instance I would use interop to call the mp3 encoding functions in a library such as the LAME dll by using the DllImport attribute provided by System.Runtime.InteropServices.
Kynth