Hi,

I am using following code to record Audio:

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();

The Audio file record is slower than really input.

The same code works fine on really phone.

Does anyone has same experience? Or I miss some parameters?

Thanks!

Cindy

-- 
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

Reply via email to