question: public void stopRecording ( ) { if ( inputSpeech != null ) { inputSpeech . setAsFinal ( ) ; if ( SAVE_SPEECH . length ( ) > 0 && inputSpeech . length ( ) > MIN_DURATION ) { AudioUtils . generateFile ( inputSpeech . toByteArray ( ) , new File ( SAVE_SPEECH ) ) ; } inputSpeech = null ; system . addContent ( system . getSettings ( ) . floor , "free" ) ; } }
target:  Stops the recording of the current speech segment.