close the microphone capture , saving all processed audio to the specified file . if already closed , this does nothing concode_field_sep File audioFile concode_elem_sep TargetDataLine targetDataLine concode_elem_sep CaptureState state concode_elem_sep AudioFileFormat.Type fileType concode_field_sep File getAudioFile concode_elem_sep void setAudioFile concode_elem_sep CaptureState getState concode_elem_sep void setFileType concode_elem_sep TargetDataLine getTargetDataLine concode_elem_sep void captureAudioToFile concode_elem_sep void captureAudioToFile concode_elem_sep void setState concode_elem_sep void setTargetDataLine concode_elem_sep AudioFormat getAudioFormat concode_elem_sep void run concode_elem_sep AudioFileFormat.Type getFileType
void function ( ) { if ( getState ( ) == CaptureState . CLOSED ) { } else { getTargetDataLine ( ) . stop ( ) ; getTargetDataLine ( ) . close ( ) ; } }