4

I have searched through many websites on the internet, but there's no sample code for converting m4a to mp3. Does anyone know how to do this in iOS? Thank~

wani
  • 177
  • 2
  • 7

1 Answers1

0

You can use AVAudioFile to read the m4a, and another AVAudioFile to write the mp3 with appropriate format settings. But this thread suggests mp3 encoding in iOS is not possible with CoreAudio.

bio
  • 669
  • 4
  • 14