Are you running on a G1 or on the emulator? If on the emulator, maybe audio input isn't working correctly and it's failing to open the audio input device.
On Jan 31, 9:59 am, Phill Midwinter <ph...@grantmidwinter.com> wrote: > Looking at adb logcat I'm getting this error: > > "*Record channel already open*" > > Could this be a bug? I don't understand how it could already be open.. > nothing else is recording on the device? > > 2009/1/31 ph...@grantmidwinter.com <ph...@grantmidwinter.com> > > > > > > > I've got a media recorder, prepared and started in the following way: > > > mRecorder = new MediaRecorder(); > > mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); > > mRecorder.setOutputFormat > > (MediaRecorder.OutputFormat.THREE_GPP); > > mRecorder.setAudioEncoder > > (MediaRecorder.AudioEncoder.AMR_NB); > > mRecorder.setOutputFile("/sdcard/test.3gpp"); > > mRecorder.prepare(); > > mRecorder.start(); > > > I'm then using a thread to return the mRecorder.getMaxAmplitude int, > > but it never returns as anything but 0. I've looked all over for why > > this might be happening - but I'm at a complete loss now so help would > > really be appreciated. > > > Thanks. > > -- > Phill Midwinter > Director > Grant Midwinter Limited > d: 0844 736 5234 x: 0 > m: 07538 082156 > e: ph...@grantmidwinter.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---