예제 #1
0
  public void deactivate() {
    active = false;
    microphone.stop();
    microphone.flush();

    speaker.stop();
    speaker.flush();
  }
예제 #2
0
 /** Close standard audio. */
 public static void close() {
   line.drain();
   line.stop();
 }