Hi,
We are using the following code to recorde user input:
--------
mRecorder = new MediaRecorder();
mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
mRecorder.setOutputFile(Common.speechFile.getAbsolutePath());
mRecorder.setMaxDuration(15000);
mRecorder.setOnInfoListener(new
MediaInforListener(activity));
mRecorder.prepare();
mRecorder.start();
------
After we got the 3GP/AMR file, we play the recording in AMR player.
The recording sounds “slower” than the real speech. The same code
works find, if we deploy it to real Android phone. Any suggestion?
Thanks in adavance
Elwin
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en