I'm working on a project in which I'll have to encode my audio data.
I can capture the audio and create a .wav file but I want to compress it and make it an mp3 or .aac file.
I'm using ffmpeg for encoding.
If someone has done this.. Please help me.
If necessary I'll post my code and efforts.

Thanks!