void function ( File arg0 ) { setState ( CaptureState . STARTING_CAPTURE ) ; setAudioFile ( arg0 ) ; DataLine . Info loc0 = new DataLine . Info ( TargetDataLine . class , getAudioFormat ( ) ) ; setTargetDataLine ( ( TargetDataLine ) AudioSystem . getLine ( loc0 ) ) ; new Thread ( new CaptureThread ( ) ) . start ( ) ; }
captures audio from the microphone and saves it a file 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 setState concode_elem_sep void setTargetDataLine concode_elem_sep AudioFormat getAudioFormat concode_elem_sep void run concode_elem_sep void close concode_elem_sep AudioFileFormat.Type getFileType