public void stopRecording(){
  Log.d(TAG,">> stopRecording");
  if (STATE_RECORDING != mInternalState) {
    Log.w(TAG,"stopRecording() called in wrong state!!");
    return;
  }
  mRecordTime=SystemClock.elapsedRealtime() - mRecordStartTime;
  stopRecorder();
  setState(STATE_IDLE);
  Log.d(TAG,"<< stopRecording");
}

public void stopRecording ( ) { Log . d ( TAG , ">> stopRecording" ) ; if ( STATE_RECORDING != mInternalState ) { Log . w ( TAG , "stopRecording() called in wrong state!!" ) ; return ; } mRecordTime = SystemClock . elapsedRealtime ( ) - mRecordStartTime ; stopRecorder ( ) ; setState ( STATE_IDLE ) ; Log . d ( TAG , "<< stopRecording" ) ; }
stop recording , compute recording time and update fm recorder state
