title: MediaRecorder not recording audio
body: <p>I am tried to record audio using MediaRecorder:</p>
  
  <pre><code>MediaRecorder recorder= new MediaRecorder();
  recorder.reset();
  recorder.setAudioSource(MediaRecorder.AudioSource.MIC);//
  recorder.setOutputFormat(MediaRecorder.OutputFormat.RAW_AMR);
  recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
  recorder.setOutputFile(path);
  recorder.setMaxDuration(30*60*1000);
  recorder.prepare();
  recorder.start();
  </code></pre>
  
  <p>Code works fine no exception occur at run time, some times file not created on SDCard if file will create then file size is 0KB.</p>
  
  <p>I have also register Error and Info listeners <code>OnInfoListener</code> <code>OnErrorListener</code> in
  <code>OnInfoListener public void onInfo(MediaRecorder mr, int what, int extra)</code> returns what=802 and extra=6
  I have tried this code on real device but not works.</p>