remove microphone.switchOff()

but keep the function defn for now just for backwards compatibility