Fixed sound recorder example syntax error

This commit is contained in:
Corey Prophitt 2014-08-30 00:53:12 -07:00
parent 7826ca53d7
commit f9e0a87e97
1 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ Let's do it with Pyjnius::
mRecorder.setAudioSource(AudioSource.MIC) mRecorder.setAudioSource(AudioSource.MIC)
mRecorder.setOutputFormat(OutputFormat.THREE_GPP) mRecorder.setOutputFormat(OutputFormat.THREE_GPP)
mRecorder.setOutputFile('/sdcard/testrecorder.3gp') mRecorder.setOutputFile('/sdcard/testrecorder.3gp')
mRecorder.setAudioEncoder(AudioEncoder.ARM_NB) mRecorder.setAudioEncoder(AudioEncoder.AMR_NB)
mRecorder.prepare() mRecorder.prepare()
# record 5 seconds # record 5 seconds