mirror of https://github.com/kivy/pyjnius.git
Fixed sound recorder example syntax error
This commit is contained in:
parent
7826ca53d7
commit
f9e0a87e97
|
@ -47,7 +47,7 @@ Let's do it with Pyjnius::
|
|||
mRecorder.setAudioSource(AudioSource.MIC)
|
||||
mRecorder.setOutputFormat(OutputFormat.THREE_GPP)
|
||||
mRecorder.setOutputFile('/sdcard/testrecorder.3gp')
|
||||
mRecorder.setAudioEncoder(AudioEncoder.ARM_NB)
|
||||
mRecorder.setAudioEncoder(AudioEncoder.AMR_NB)
|
||||
mRecorder.prepare()
|
||||
|
||||
# record 5 seconds
|
||||
|
|
Loading…
Reference in New Issue