title: iOS: Record audio in other format than caf
body: <p>I am working on audio recording. I am able to record my audio in caf (Core audio format). Now I want to record sound in <code>.mp3</code> or <code>.amr</code>.</p>
  <p>I tried a lot of google but didn't found anything. I am not sure if my steps following work:</p>
  <blockquote>
  <p>Write that Audio with <code>.caf</code> extention to document dir</p>
  <p>Read data from that file</p>
  <p>write the file again with <code>.mp3 or .amr extention</code></p>
  </blockquote>
  <p>I have 100% doubt that this will not going to work as this will just re save file with some other extension. This won't change audio codec.</p>
  <p>I thought that for converting any format whether it is audio or video we need to change its codecs and data sequence.</p>
  <p>Please also suggest me any player which don't play <code>.caf</code> files not anything else. So I can make sure that my files are converted successfully.</p>
  <p><strong>UPDATE</strong> Please also let me know that the way I am re-writing data with different extension is correct in the way I am needed?</p>