Last active
May 20, 2017 15:37
-
-
Save markojerkic/b5e0a40f4403323c75455b9ed747999d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MediaRecorder mediaRecorder = new MediaRecorder(); | |
mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); | |
mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); | |
mediaRecorder.setOutputFile(mFileName); | |
mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment