microphone plugin: add connect and disconnect