The audio recorded from simulator is slower than I talk, On Oct 21, 3:00 pm, cindy <ypu01...@yahoo.com> wrote: > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en