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

Reply via email to