Make preferred microphone configurable when a headset is plugged in by introducing the 'mic_priority' attribute for the <config> node. Values can be "internal" and "external".