Mobile voice mic selection

It would be great if there could be an option to choose which mic voice uses on Android smartphones. For example, if you have a headset plugged in, discord will try to use the mic on that for voice, but what about if it doesn't have a mic? You have to unplug the headphones to use mic, but then you can't chat in the privacy of headphones. There's an option already to switch between phone speaker or headphones for audio, but what about a choice of phone mic, or headphone mic? This would be an awesome feature.