8

Possible Duplicate:
How to encode a WAV to a mp3 on a Android device

I want to record audio in MP3 format in my android application. I know I can read PCM audio using the audioRecord class. Is there a java library compatible with android that will encode PCM to MP3? Is it possible to use the Lame mp3 encoder library?

Community
  • 1
  • 1
user515
  • 91
  • 1
  • 1
  • 4
  • You can use libav with LAME mp3 and you can find example http://libavandroid.wordpress.com/2014/01/05/record-mp3-in-android-using-libavffmpeg/ – Mohit Jan 05 '14 at 08:36
  • I answered a very similar question here http://stackoverflow.com/questions/3641920/how-to-encode-a-wav-to-a-mp3-on-a-android-device/ – Paul Gregoire Sep 12 '10 at 16:53

0 Answers0