How to change the speaker/microphone?

Will I be able to change the speaker or microphone in the SDK as the device I am using is a robot and has multiple speakers and microphones?