Avatar

Employee

I am not really sure I understand your last question.

Microphone.names returns an array of names (in a fixed order, I think) so if put them in a listbox and then select an entry you can get the index and call Microphone.getMicrophone(index).

If you are worried that the user may disconnect one audio source between listing the names and picking one, you can check that the name of the selected Microphone is the same as the name you are expecting.