As I understand it, MediaRecorder is a black box that gives a compressed audio file to the output, and AudioRecorder gives you just a raw audio stream, and you have to compress it yourself.
MediaRecorder gives the maximum amplitude from the last call to the getMaxAmplitude() method so that you can implement, for example, a sound visualizer.
Thus, in most cases, MediaRecorder is the best choice, except for those in which you have to perform complex audio processing, and you need access to the raw audio stream.
Lampapos Oct 07 '13 at 14:29 2013-10-07 14:29
source share