Пример #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();
 }