question: get the duration of the audio file . concode_field_sep int MEDIA_ERR_NONE_ACTIVE concode_elem_sep AudioHandler handler concode_elem_sep String audioFile concode_elem_sep int MEDIA_ERR_ABORTED concode_elem_sep int MEDIA_POSITION concode_elem_sep int state concode_elem_sep int MEDIA_ERROR concode_elem_sep String tempFile concode_elem_sep boolean prepareOnly concode_elem_sep int MEDIA_STATE concode_elem_sep int MEDIA_NONE concode_elem_sep int MEDIA_ERR_NONE_SUPPORTED concode_elem_sep float duration concode_elem_sep int MEDIA_DURATION concode_elem_sep int MEDIA_STOPPED concode_elem_sep MediaRecorder recorder concode_elem_sep int MEDIA_PAUSED concode_elem_sep MediaPlayer mPlayer concode_elem_sep int MEDIA_ERR_DECODE concode_elem_sep String id concode_elem_sep int MEDIA_STARTING concode_elem_sep int MEDIA_RUNNING concode_elem_sep String LOG_TAG concode_elem_sep int MEDIA_ERR_NETWORK concode_field_sep void onCompletion concode_elem_sep boolean onError concode_elem_sep float getDurationInSeconds concode_elem_sep void destroy concode_elem_sep void onPrepared concode_elem_sep void pausePlaying concode_elem_sep long getCurrentPosition concode_elem_sep void setVolume concode_elem_sep void stopPlaying concode_elem_sep void moveFile concode_elem_sep int getState concode_elem_sep boolean isStreaming concode_elem_sep void startRecording concode_elem_sep void seekToPlaying concode_elem_sep void setState concode_elem_sep void startPlaying concode_elem_sep void stopRecording
target: float function ( String arg0 ) { if ( this . recorder != null ) { return ( - 2 ) ; } if ( this . mPlayer != null ) { return this . duration ; } else { this . prepareOnly = true ; this . startPlaying ( arg0 ) ; return this . duration ; } }