/** * Start recording. The stop method will give us the clip. * * @see #stop */ public void start() { synchronized (lock) { if (recorder != null) { recorder.stopRecording(); } recorder = new RecordThread(); recorder.start(); } }
public void StartMicrophone() { if (rt == null) { rt = new RecordThread(); rt.start(); } }