Controlling microphones and speakers of a computing device