public void deactivate() { active = false; microphone.stop(); microphone.flush(); speaker.stop(); speaker.flush(); }
/** Close standard audio. */ public static void close() { line.drain(); line.stop(); }