It uses the system default microphone. Sadly there’s a limitation with speech recognition in the browser which prevents from being able to select which microphone to use; that’s controlled by the browser itself.