Код: Выделить всё
mRecorder = new MediaRecorder();
mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
mRecorder.setOutputFile("/dev/null");
Все сообщения, которые я читаю, анализируют буферизованный файл.>
Подробнее здесь: https://stackoverflow.com/questions/182 ... time-audio
Мобильная версия